Skip to content

Update Claude workflow permissions#1102

Merged
mtmk merged 1 commit into
mainfrom
fix/claude-workflow-permissions
Apr 9, 2026
Merged

Update Claude workflow permissions#1102
mtmk merged 1 commit into
mainfrom
fix/claude-workflow-permissions

Conversation

@Jarema

@Jarema Jarema commented Apr 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Update GITHUB_TOKEN permissions from {} to contents: read + actions: read
  • Required by claude-code-action for restoring trusted config files from the base branch (security feature added in v1.0.75)
  • Matches the pattern used in ConnectEverything/insights and nats-io/nats-server

Changes

  • permissions: {}permissions: contents: read, actions: read
  • Added comment explaining why these permissions are needed

🤖 Generated with Claude Code

@mtmk mtmk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

claude-code-action needs contents:read and actions:read on the
GITHUB_TOKEN to restore trusted config files from the base branch
(security feature added in v1.0.75).
@mtmk
mtmk force-pushed the fix/claude-workflow-permissions branch from a855b22 to 7111126 Compare April 9, 2026 10:35
@mtmk
mtmk merged commit 2401ff5 into main Apr 9, 2026
22 checks passed
@mtmk
mtmk deleted the fix/claude-workflow-permissions branch April 9, 2026 10:52
This was referenced Apr 16, 2026
@mtmk mtmk mentioned this pull request May 13, 2026
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