Skip to content

Commit 2337d2f

Browse files
authored
ci: remove "remove enhancement pending label" step (#468)
1 parent 5d1fffd commit 2337d2f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/issue-labeled.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,14 @@ jobs:
2424
labels: "pending triage, need reproduction"
2525

2626
- name: remove pending
27-
if: contains(github.event.label.description, '(priority)') && contains(github.event.issue.labels.*.name, 'pending triage')
27+
if: (github.event.label.name == 'enhancement' || contains(github.event.label.description, '(priority)')) && contains(github.event.issue.labels.*.name, 'pending triage')
2828
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3
2929
with:
3030
actions: "remove-labels"
3131
token: ${{ secrets.GITHUB_TOKEN }}
3232
issue-number: ${{ github.event.issue.number }}
3333
labels: "pending triage"
3434

35-
- name: remove enhancement pending
36-
if: "(github.event.label.name == 'enhancement' || contains(github.event.label.description, '(priority)')) && contains(github.event.issue.labels.*.name, 'enhancement: pending triage')"
37-
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3
38-
with:
39-
actions: "remove-labels"
40-
token: ${{ secrets.GITHUB_TOKEN }}
41-
issue-number: ${{ github.event.issue.number }}
42-
labels: "enhancement: pending triage"
43-
4435
- name: need reproduction
4536
if: github.event.label.name == 'need reproduction'
4637
uses: actions-cool/issues-helper@a610082f8ac0cf03e357eb8dd0d5e2ba075e017e # v3

0 commit comments

Comments
 (0)