Skip to content

Commit bcdfa9f

Browse files
authored
Add missing permissions to GitHub Actions workflows (#85)
1 parent 1c12322 commit bcdfa9f

4 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/announce-a-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
concurrency: announce-a-release
99

10+
permissions:
11+
packages: read
12+
contents: write
13+
1014
jobs:
1115
announce:
1216
name: Announcements

.github/workflows/pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ concurrency:
66
group: pr-${{ github.ref }}
77
cancel-in-progress: true
88

9+
permissions:
10+
packages: read
11+
912
jobs:
1013
superlinter:
1114
name: Lint bash, docker, markdown, and yaml

.github/workflows/prepare-for-a-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
concurrency: prepare-for-a-release
99

10+
permissions:
11+
packages: read
12+
contents: write
13+
1014
jobs:
1115
# all tasks that need to be done before we add an X.Y.Z tag
1216
# should be done as a step in the pre-tagging job.

.github/workflows/release.yml

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

88
concurrency: release
99

10+
permissions:
11+
packages: write
12+
1013
jobs:
1114
# validation to assure that we should in fact continue with the release should
1215
# be done here. the primary reason for this step is to verify that the release

0 commit comments

Comments
 (0)