Skip to content

ci: declare permissions on build-check and codeql-analysis#694

Open
arpitjain099 wants to merge 2 commits into
aws:mainfrom
arpitjain099:ci/add-permissions
Open

ci: declare permissions on build-check and codeql-analysis#694
arpitjain099 wants to merge 2 commits into
aws:mainfrom
arpitjain099:ci/add-permissions

Conversation

@arpitjain099
Copy link
Copy Markdown

Two workflows currently inherit the repo default token scope:

  • build-check.yml — PR-time compile matrix (ubuntu/windows). contents: read covers checkout.
  • codeql-analysis.yml — runs github/codeql-action, which posts SARIF results back via the GitHub API. Standard CodeQL scopes: actions: read, contents: read, security-events: write.

build-check.yml: pure CI matrix compile - contents: read.

codeql-analysis.yml: github/codeql-action workflows need
  actions: read
  contents: read
  security-events: write  (SARIF upload)
which is the standard scope set for any CodeQL workflow.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
@arpitjain099 arpitjain099 requested a review from a team as a code owner May 13, 2026 08:46
@arpitjain099
Copy link
Copy Markdown
Author

Hi @sky333999, 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

Gentle nudge in case this got buried. Let me know if there's anything I can help move forward. Thanks for your time.

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