Skip to content

Commit 415a2a4

Browse files
committed
Add top level read only permission to workflows
1 parent 5df1f54 commit 415a2a4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/assertion.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ on:
3939
ARTIFACTORY_URL:
4040
required: true
4141

42+
permissions:
43+
contents: read
44+
4245
jobs:
4346
build-assertion-document:
4447
name: Create Assertion Document

.github/workflows/vulncheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
required: false
1515
default: 'main'
1616

17+
permissions:
18+
contents: read
19+
1720
jobs:
1821
vulncheck:
1922
name: Vulnerability Check

0 commit comments

Comments
 (0)