Narrow workflow-level permissions to contents:read and grant write access only to the specific jobs that need it (publish gets contents:write, docker gets packages:write). Reduces blast radius if a build step is compromised (P1 finding). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| checks-on-pr.yml | ||
| cross-platform-build-manual.yml | ||
| master-branch-flow.md | ||
| README.md | ||
| release-beta-on-push.yml | ||
| release-stable-manual.yml | ||
Workflow Directory Layout
GitHub Actions only loads workflow entry files from:
.github/workflows/*.yml.github/workflows/*.yaml
Subdirectories are not valid locations for workflow entry files.
Repository convention:
- Keep runnable workflow entry files at
.github/workflows/root. - Keep cross-tooling/local CI scripts under
dev/orscripts/ci/when used outside Actions.
Workflow behavior documentation in this directory:
.github/workflows/master-branch-flow.md