Skip to content

Commit 6417746

Browse files
committed
fix: update labels
1 parent 9a869ad commit 6417746

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/label-issue-update.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ on:
55
types: [ edited ]
66

77
jobs:
8-
add_labels:
8+
update_labels:
99
runs-on: ubuntu-latest
10-
if: ${{ github.event.label.name == 'sponsor' || github.event.label.name == 'contributor' }}
10+
if: |
11+
contains(github.event.issue.labels.*.name, 'sponsor') ||
12+
contains(github.event.issue.labels.*.name, 'contributor')
1113
steps:
1214
- name: checkout
1315
uses: actions/checkout@v2

0 commit comments

Comments
 (0)