Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit cdf1d94

Browse files
committed
Add explicit permissions to automation workflows
1 parent 483c845 commit cdf1d94

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/fixed-issues.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- "v[0-9]+.[0-9]+.[0-9]+"
77
workflow_dispatch:
88

9+
permissions:
10+
issues: write
11+
912
jobs:
1013
fixed:
1114
runs-on: ubuntu-latest

.github/workflows/remove-labels.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
types:
66
- closed
77

8+
permissions:
9+
issues: write
10+
811
jobs:
912
label_issues:
1013
runs-on: ubuntu-latest

.github/workflows/stale-issues.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: "0 * * * *"
66
workflow_dispatch:
77

8+
permissions:
9+
issues: write
10+
811
jobs:
912
stale:
1013
runs-on: ubuntu-latest

.github/workflows/triage-issues.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- opened
77
- reopened
88

9+
permissions:
10+
issues: write
11+
912
jobs:
1013
label_issues:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)