Skip to content

Commit e8098fd

Browse files
committed
Fix label workflow actions
1 parent 9e3efa7 commit e8098fd

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/labels.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
name: labels
22

3-
# This workflow is triggered when a label is added to an issue.
43
on:
54
issues:
6-
types: labeled
5+
types: [labeled, unlabeled]
6+
pull_request:
7+
types: [labeled, unlabeled]
8+
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
713

814
jobs:
915
label-actions:
1016
runs-on: ubuntu-latest
1117
steps:
1218
- uses: actions/checkout@v3
13-
- uses: hramos/label-actions@v1
19+
- uses: dessant/label-actions@v3
1420
with:
15-
configuration-path: .github/labels-config.yml
16-
repo-token: ${{ secrets.GITHUB_TOKEN }}
21+
config-path: .github/labels-config.yml
22+
github-token: ${{ github.token }}

0 commit comments

Comments
 (0)