Skip to content

Commit 888299f

Browse files
committed
Add missing permissions to GitHub Actions workflows
1 parent d78f312 commit 888299f

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

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

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

77
concurrency: announce-a-release
88

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

.github/workflows/breakage-against-ponyc-latest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
types:
66
- shared-docker-builders-updated
77

8+
permissions:
9+
packages: read
10+
811
jobs:
912
vs-ponyc-latest:
1013
name: Test against ponyc main

.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
@@ -6,6 +6,10 @@ on:
66

77
concurrency: prepare-for-a-release
88

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

0 commit comments

Comments
 (0)