Skip to content

Commit 82babdf

Browse files
committed
add perms
1 parent be058bf commit 82babdf

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/security-default-branch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55

66
name: Security
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
sbom-trivy:
1013
runs-on: ubuntu-latest

.github/workflows/security-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33

44
name: Security
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
semgrep:
811
# Skip any PR created by dependabot to avoid permission issues:

0 commit comments

Comments
 (0)