Skip to content

Commit 298db46

Browse files
committed
Explicitly set top-level permissions to read-all
1 parent 6b847df commit 298db46

File tree

8 files changed

+14
-2
lines changed

8 files changed

+14
-2
lines changed

.github/workflows/close-inactive-issues.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
schedule:
44
- cron: "30 1 * * *"
55
workflow_dispatch:
6+
permissions: read-all
67
jobs:
78
close-issues:
89
runs-on: ubuntu-latest

.github/workflows/codeql-analysis.yml

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

16+
permissions: read-all
17+
1618
env:
1719
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
1820

.github/workflows/cross-version.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
branches:
1212
- '*'
1313

14+
permissions: read-all
15+
1416
env:
1517
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
1618

.github/workflows/gradle-dependency-submission.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
branches:
66
- main
77

8-
permissions:
9-
contents: write
8+
permissions: read-all
109

1110
jobs:
1211
dependency-submission:
1312
if: github.repository == 'junit-team/junit5'
1413
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
1516
steps:
1617
- name: Check out repository
1718
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4

.github/workflows/label-opened-issues.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
issues:
44
types:
55
- opened
6+
permissions: read-all
67
jobs:
78
label_issues:
89
runs-on: ubuntu-latest

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
branches:
1010
- '*'
1111

12+
permissions: read-all
13+
1214
env:
1315
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
1416

.github/workflows/reproducible-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
branches:
1010
- '*'
1111

12+
permissions: read-all
13+
1214
env:
1315
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
1416

.github/workflows/unlabel-closed-issues.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
issues:
44
types:
55
- closed
6+
permissions: read-all
67
jobs:
78
label_issues:
89
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)