Skip to content

Commit 00dafb7

Browse files
authored
Merge pull request #52 from brave/fix/github-workflows-permissions
[github workflows] add permissions
2 parents eaf2209 + 451094a commit 00dafb7

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/audit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ on:
1717
schedule:
1818
- cron: '19 7 4 * *'
1919

20+
permissions:
21+
contents: read
22+
issues: write
23+
2024
jobs:
2125
audit:
2226
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
schedule:
1313
- cron: '19 7 3 * *'
1414

15+
permissions:
16+
contents: read
17+
checks: write
18+
pull-requests: write
19+
1520
jobs:
1621
lint:
1722
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
schedule:
1313
- cron: '18 7 3 * *'
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
test:
1720
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)