docs: correct the credential statements in CLAUDE.md, CONTRIBUTING.md and the workflows
State that a same-repo pull request gets org secrets and that Gitea 28 refuses the job token for org packages. Rename image.yml's workflow to "Images" (cosmetic, no step changed) and update stale comments. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
32018e27f0
commit
24500e9eed
6 files changed
+22
-16
No files matched your search
+4
-3
@@ -28,9 +28,10 @@ outside contributions:
|
||||
|
||||
- Protect the `v*` tags so only maintainers can create them. A tag run uses the
|
||||
workflow files of the tagged commit and may receive organisation secrets.
|
||||
- Protect `main`: pull request required, with the `Lint` and `Build` checks.
|
||||
- The image workflow (`.gitea/workflows/image.yml`) pushes with the Actions job token
|
||||
when Gitea allows it, otherwise with the organisation secrets
|
||||
- Protect `main`: pull request required, with the `Lint` and `Build` checks. Molecule is not a required
|
||||
check: its path filter would leave the check pending forever on a pull request that touches no role.
|
||||
- The image workflow (`.gitea/workflows/image.yml`) tries the Actions job token first;
|
||||
Gitea 28 refuses it for an organisation's packages, so it pushes with the organisation secrets
|
||||
`PACKAGE_PUSH_USER` and `PACKAGE_PUSH_TOKEN` (a bot user with write access to the
|
||||
organisation's packages and a token with only the `write:package` scope). Keep
|
||||
those the only credentials stored at organisation level.
|
||||
Reference in new issue
Block a user