docs: add job name: to all usage snippets + rule requiring named jobs
This commit is contained in:
@@ -124,6 +124,7 @@ Consumer projects must set these secrets in Gitea repo settings (Settings → Ac
|
||||
## Rules
|
||||
|
||||
- Pin composite action refs to `@main` until version tags are created.
|
||||
- Every job **must** have a `name:` field (e.g. `name: Build Image`, `name: Deploy (internal)`). Unnamed jobs render as their raw ID (`build`, `deploy`, …) in the Gitea Actions UI and run logs. The workflow template above includes `name:` on every job — copy it as-is.
|
||||
- Always use the full URL `https://git.ivanch.me/ivanch/pipeline-actions/<action>@main` for `uses:` — Gitea cannot resolve the bare GitHub-style `ivanch/pipeline-actions/...` path.
|
||||
- Always use `runs-on: ubuntu-amd64` (homelab Gitea runner label).
|
||||
- Always build `linux/amd64,linux/arm64` — the cluster has mixed arch (iris+vega=amd64, nebula+nexus=arm64).
|
||||
|
||||
Reference in New Issue
Block a user