Skip to content

Commit 969791a

Browse files
justin-layervclaude
authored andcommitted
fix(ci): Add explicit permissions to workflow
Add explicit permissions block to ubuntu-build.yml workflow following GitHub Actions security best practices. This applies the principle of least privilege by restricting the workflow to only the permissions it needs (contents: read). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6534cf6 commit 969791a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ubuntu-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
pull_request:
1313
branches: [ "main" ]
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619

1720
build:

0 commit comments

Comments
 (0)