Skip to content

Commit 9700825

Browse files
committed
ci: add permissions to workflow
1 parent 3a0b82a commit 9700825

File tree

8 files changed

+10
-7
lines changed

8 files changed

+10
-7
lines changed

.github/workflows/checks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Tests
2-
32
permissions:
43
contents: read
54

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Generate documentation
2+
permissions:
3+
contents: read
24

35
on:
46
push:

.github/workflows/format.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Check formatting
2-
32
permissions:
43
contents: read
54

.github/workflows/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: "Pull Request Labeler"
2+
permissions:
3+
actions: read
4+
25
on:
36
- pull_request_target
47

.github/workflows/lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Check linters
2-
32
permissions:
43
contents: read
54

.github/workflows/nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: Nightly Tests
2+
permissions:
3+
actions: read
4+
25
on:
36
schedule:
47
- cron: '0 0 * * *'
58

6-
permissions:
7-
actions: read
8-
99
jobs:
1010
nightly:
1111
strategy:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Release
2+
permissions:
3+
contents: read
24

35
on:
46
release:

.github/workflows/typing.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Check type hinting
2-
32
permissions:
43
contents: read
54

0 commit comments

Comments
 (0)