Skip to content

Commit 1e2a892

Browse files
Add explicit permissions to workflows
1 parent 4a45012 commit 1e2a892

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/analyse.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: analyse
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ 'main' ]

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: lint
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: [ 'main' ]

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: test
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches: ['main']

0 commit comments

Comments
 (0)