来源信息
- 仓库
- ethereum/execution-specs
- 最近来源活动
- 2026年9月3日 10:31
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 1,197
- 分支
- 520
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- edit-workflow
- description
- Apply repository conventions when editing GitHub Actions workflows.
# Edit Workflow
GitHub Actions conventions. Run this skill before modifying workflow files in `.github/`.
## Action Version Pinning (Required)
All actions must be pinned to commit SHA with version comment:
```yaml
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
```
- Never use version tags alone (`@v4` is wrong)
- Local actions (`./.github/actions/*`) are exempt from pinning
## Runner Selection
Self-hosted runners (`[self-hosted-ghr, size-*-x64]`) are a shared EF devops
pool — reserve them for jobs that need the capacity. Non-critical or low-load
jobs belong on GitHub-hosted runners (`ubuntu-latest`), which also avoids a
provisioning wait (~2.5 min) if the self-hosted warm pool is exhausted.
- **Pattern**: lightweight job (short runtime, no heavy parallelism) →
`ubuntu-latest` (e.g. `spec-tools` in #3177).
- **Anti-pattern**: defaulting a quick gate, lint, or cache-restore job to
`size-xl-x64` "to be safe".
- **Exception**: a job may need self-hosted for reasons other than load, e.g.
Docker Hub pulls from GHR egress IPs to dodge per-IP rate limits (#3185
keeps push runs self-hosted while PR runs use `ubuntu-latest`).
If unsure which runner a job needs, flag it and ask instead of guessing.
## Validation
Run `just lint-actions` before committing to validate YAML syntax and structure.
在 GitHub 查看