Skip to content

ci: declare permissions on the PR-build workflow#2119

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

ci: declare permissions on the PR-build workflow#2119
arpitjain099 wants to merge 1 commit into
aws:mainfrom
arpitjain099:ci/add-permissions

Conversation

@arpitjain099

Copy link
Copy Markdown

PR-build.yml runs Go lint + tests across the matrix with actions/cache@v3 for the Go module cache. It is the one workflow in .github/workflows/ without an explicit permissions: block.

Scopes:

  • contents: readactions/checkout
  • actions: writeactions/cache@v3 save path. The action restores AND saves; once explicit permissions kick in (instead of repo default), the save call needs actions: write.

YAML validates.

@arpitjain099 arpitjain099 requested a review from a team as a code owner May 13, 2026 08:34
@arpitjain099

Copy link
Copy Markdown
Author

Hi @okankoAMZ, 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.

@arpitjain099

Copy link
Copy Markdown
Author

Hi, Wanted to check whether this is still on the radar. Happy to revise. Thanks!

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Jun 3, 2026
PR-build runs Go lint + tests with actions/cache@v3 for Go module cache.
Needs:
  contents: read   - actions/checkout
  actions: write   - actions/cache save path (cache miss creates new cache entry)

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@github-actions github-actions Bot removed the Stale label Jun 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR was marked stale due to lack of activity.

@github-actions github-actions Bot added the Stale label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant