Skip to content

Commit 6b452e7

Browse files
ci(actions): set explicit token permissions
Add minimal GITHUB_TOKEN permissions to electron-rebuild workflow to enforce least privilege and satisfy CodeQL alert #14.
1 parent de3f57f commit 6b452e7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/electron-rebuild.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: "Electron Rebuild Testing"
22

3+
permissions:
4+
contents: read
5+
36
on: [pull_request]
47

58
jobs:

0 commit comments

Comments
 (0)