Skip to content

CI: give the black workflow read-only token permissions - #10118

Merged
ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:ci-black-permissions
Aug 15, 2026
Merged

CI: give the black workflow read-only token permissions#10118
ThomasWaldmann merged 1 commit into
borgbackup:masterfrom
ThomasWaldmann:ci-black-permissions

Conversation

@ThomasWaldmann

Copy link
Copy Markdown
Member

black.yaml was the only workflow without a permissions: declaration, so its GITHUB_TOKEN gets whatever the repository default happens to be. The job only checks out the repository and runs black, so contents: read is all it needs.

🤖 Generated with Claude Code

It was the only workflow without a permissions declaration, so it got
whatever the repository default is. It only checks out and runs black.
@ThomasWaldmann
ThomasWaldmann merged commit a11fdb3 into borgbackup:master Aug 15, 2026
1 check passed
@ThomasWaldmann
ThomasWaldmann deleted the ci-black-permissions branch August 15, 2026 05:58
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