Skip to content

Commit c6aaa99

Browse files
authored
Merge pull request #100 from smallstep/panos/workflows
gh: aligned workflow permissions with smallstep/workflows#324
2 parents 7beaf27 + 5c62b8f commit c6aaa99

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/actionci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
actionci:
1717
permissions:
1818
contents: read
19+
actions: read
1920
security-events: write
2021
uses: smallstep/workflows/.github/workflows/actionci.yml@main
2122
secrets: inherit

.github/workflows/code-scan-cron.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ on:
22
schedule:
33
- cron: '0 0 * * SUN'
44

5-
permissions:
6-
actions: read
7-
contents: read
8-
security-events: write
9-
105
jobs:
116
code-scan:
7+
permissions:
8+
actions: read
9+
contents: read
10+
security-events: write
1211
uses: smallstep/workflows/.github/workflows/code-scan.yml@main
1312
secrets: inherit

0 commit comments

Comments
 (0)