Skip to content

Commit 7f37947

Browse files
authored
Merge pull request #114 from smallstep/panos/workflows
gh: aligned workflow permissions with smallstep/workflows#324
2 parents a338f73 + b891802 commit 7f37947

3 files changed

Lines changed: 6 additions & 8 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: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +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
13-
secrets:
14-
GITLEAKS_LICENSE_KEY: ${{ secrets.GITLEAKS_LICENSE_KEY }}
12+
secrets: inherit

.github/workflows/triage.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@ jobs:
1515
permissions:
1616
contents: read
1717
issues: write
18-
pull-requests: write
1918
uses: smallstep/workflows/.github/workflows/triage.yml@main
2019
secrets: inherit

0 commit comments

Comments
 (0)