Skip to content

ci: declare contents: read on the CI workflow#204

Merged
stefanberger merged 1 commit into
containerd:mainfrom
arpitjain099:ci/add-permissions
May 13, 2026
Merged

ci: declare contents: read on the CI workflow#204
stefanberger merged 1 commit into
containerd:mainfrom
arpitjain099:ci/add-permissions

Conversation

@arpitjain099
Copy link
Copy Markdown
Contributor

Three jobs in ci.yml (checks, linters, tests) only do checkout + setup-go + build/test. No git push, no GitHub API write. contents: read at the workflow level documents that explicitly.

codeql.yml in this repo already declares per-job permissions (actions: read + contents: read); this brings the CI workflow in line.

The three CI jobs (checks, linters, tests) only check out the repo and run
build/test. codeql.yml in this repo already declares per-job permissions
(actions: read + contents: read); ci.yml gets a workflow-level cap.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@stefanberger stefanberger merged commit 87a6c43 into containerd:main May 13, 2026
8 checks passed
@stefanberger
Copy link
Copy Markdown
Contributor

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants