Skip to content

Conversation

@patrickhoefler
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 14, 2026 14:34
@patrickhoefler patrickhoefler enabled auto-merge (squash) January 14, 2026 14:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes GitHub Actions workflow permission errors by implementing proper job-level permissions following the principle of least privilege. The workflow-level permissions are restricted to read-only, while specific jobs receive elevated permissions only where needed.

Changes:

  • Restricted workflow-level permissions to contents: read only
  • Added explicit job-level permissions to the lint-and-test job for calling the reusable workflow
  • Moved contents: write and packages: write permissions to the goreleaser job level where they are actually needed

@patrickhoefler patrickhoefler merged commit 5e17c60 into main Jan 14, 2026
15 checks passed
@patrickhoefler patrickhoefler deleted the fix/workflow-permissions branch January 14, 2026 14:37
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