Skip to content

ci: pin contents: read on build-images and ci#1906

Open
arpitjain099 wants to merge 1 commit into
cncf:mainfrom
arpitjain099:ci/add-permissions
Open

ci: pin contents: read on build-images and ci#1906
arpitjain099 wants to merge 1 commit into
cncf:mainfrom
arpitjain099:ci/add-permissions

Conversation

@arpitjain099
Copy link
Copy Markdown

Pins the default GITHUB_TOKEN to read-only for the two workflows still inheriting org defaults:

  • build-images.yml — multi-image build for dbmigrator/registrar/tracker/etc. OCIR push authenticates via OCI_AUTH_TOKEN + OCI_CLI_* secrets.
  • ci.yml — clippy/rustfmt/test matrix; no API writes.

YAML validated locally.

- build-images.yml: OCIR push uses OCI_AUTH_TOKEN + OCI_CLI_* secrets.
- ci.yml: linter/test matrix, no API writes.

Signed-off-by: arpitjain099 <arpitjain099@gmail.com>
@arpitjain099
Copy link
Copy Markdown
Author

Hi @cynthia-sg, gentle ping on this. PR has been open for 4 days without review. I noticed you've been on the recent-merger side of recent merges in this repo. When you have a moment, would you mind giving it a quick look? No urgency. Happy to address any feedback.

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.

1 participant