Skip to content

Commit 48a53c0

Browse files
derek73claude
andcommitted
Add explicit permissions to CI workflow
Sets contents: read at the workflow level to follow least-privilege principle for GITHUB_TOKEN, resolving CodeQL alert actions/missing-workflow-permissions. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ca923cb commit 48a53c0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
pull_request:
1111
branches: [ master ]
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
build:
1518

0 commit comments

Comments
 (0)