Skip to content

ci: Add explicit GITHUB_TOKEN permissions to workflows - #213

Merged
khvn26 merged 1 commit into
mainfrom
kimgustyr/eng-1221-edge-proxy-add-explicit-github_token-6cd9
Dec 3, 2026
Merged

khvn26 merged 1 commit into
mainfrom
kimgustyr/eng-1221-edge-proxy-add-explicit-github_token-6cd9

Conversation

@khvn26

@khvn26 khvn26 commented Dec 3, 2026

Copy link
Copy Markdown
Member

Adds a workflow-level permissions: contents: read block to both workflows, so they keep working once the org default GITHUB_TOKEN becomes read-only.

  • docker-publish-image.yml: the token is only used for checkout. Images are pushed to Docker Hub with DOCKERHUB_TOKEN_WRITE, not GITHUB_TOKEN.
  • pull-request.yml: checkout and unit tests only, with no writes.

Generated with [Linear](https://linear.app/flagsmith/agent-session/54057672-3c89-412e-8a34-3977429ed7b0)

Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
@khvn26
khvn26 marked this pull request as ready for review December 3, 2026 14:50
@khvn26
khvn26 requested a review from a team as a code owner December 3, 2026 14:50
@khvn26
khvn26 requested review from emyller and removed request for a team December 3, 2026 14:50

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Adds explicit contents: read GITHUB_TOKEN permissions to two CI workflows. The decisive issue is whether either workflow needs token write access; the diff does not show job steps, so that claim needs human verification.

Turn on auto-fix | Re-trigger cubic

@khvn26
khvn26 merged commit 5207eb1 into main Dec 3, 2026
5 checks passed
@khvn26
khvn26 deleted the kimgustyr/eng-1221-edge-proxy-add-explicit-github_token-6cd9 branch December 3, 2026 16:12
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