Skip to content

Commit aefe962

Browse files
committed
[github workflows] add permissions
1 parent ed57899 commit aefe962

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/audit.yml

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

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

.github/workflows/checks.yml

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

44
name: Checks
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
test:
811
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)