Skip to content

Commit 1d48264

Browse files
committed
Add minimal permissions to some actions workflows
1 parent f07f5e8 commit 1d48264

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/add-discuss-during-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ on:
1818
types:
1919
- submitted
2020

21+
permissions:
22+
pull-requests: write
23+
2124
jobs:
2225
add-label:
2326
runs-on: ubuntu-latest

.github/workflows/lint-action-workflows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ concurrency:
66
group: lint-actions-${{ github.ref }}
77
cancel-in-progress: true
88

9+
permissions:
10+
packages: read
11+
912
jobs:
1013
lint:
1114
name: Lint
@@ -14,6 +17,6 @@ jobs:
1417
- name: Checkout
1518
uses: actions/checkout@v4.1.1
1619
- name: Check workflow files
17-
uses: docker://ghcr.io/ponylang/shared-docker-ci-actionlint:20241206
20+
uses: docker://ghcr.io/ponylang/shared-docker-ci-actionlint:20250119
1821
with:
1922
args: -color

.github/workflows/remove-discuss-during-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
types:
99
- closed
1010

11+
permissions:
12+
pull-requests: write
13+
1114
jobs:
1215
remove-label:
1316
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)