Skip to content

Commit 02fd79c

Browse files
committed
Add issues write permissions for required label enforcing
1 parent b60f703 commit 02fd79c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ on:
66
- 'master'
77
- 'refs/heads/v[0-9]+.[0-9]+.[0-9]+'
88
pull_request:
9+
- opened
10+
- labeled
11+
- unlabeled
12+
- synchronize
13+
- reopened
914
## This workflow needs the `pull-request` permissions to work for the package diffing
1015
## Refs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
16+
## Issues permissions are required for
1117
permissions:
18+
issues: write
1219
pull-requests: write
1320
contents: read
1421
jobs:
1522
ci:
1623
name: Continuous Integration
17-
uses: WyriHaximus/github-workflows/.github/workflows/package.yaml@main
24+
uses: WyriHaximus/github-workflows/.github/workflows/package.yaml@required-labels

0 commit comments

Comments
 (0)