Skip to content

Commit f23c4df

Browse files
committed
GHA: Add permissions to workflows
1 parent 2928110 commit f23c4df

File tree

7 files changed

+21
-0
lines changed

7 files changed

+21
-0
lines changed

.github/workflows/@ALL.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ on:
1717
branches:
1818
- ci/@ALL
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124

2225
abi:

.github/workflows/abi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ on:
4242
schedule:
4343
- cron: '0 0 * * *'
4444

45+
permissions:
46+
contents: read
47+
4548
jobs:
4649

4750
build:

.github/workflows/impi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
schedule:
3333
- cron: '0 0 * * 6'
3434

35+
permissions:
36+
contents: read
37+
3538
jobs:
3639

3740
test:

.github/workflows/mpich.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ on:
4242
schedule:
4343
- cron: '0 0 * * *'
4444

45+
permissions:
46+
contents: read
47+
4548
jobs:
4649

4750
test:

.github/workflows/msmpi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ on:
3232
schedule:
3333
- cron: '0 0 * * 6'
3434

35+
permissions:
36+
contents: read
37+
3538
jobs:
3639

3740
test:

.github/workflows/mvapich.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ on:
4242
schedule:
4343
- cron: '0 0 * * 6'
4444

45+
permissions:
46+
contents: read
47+
4548
jobs:
4649

4750
test:

.github/workflows/openmpi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ on:
4242
schedule:
4343
- cron: '0 0 * * *'
4444

45+
permissions:
46+
contents: read
47+
4548
jobs:
4649

4750
test:

0 commit comments

Comments
 (0)