Skip to content

Commit 39e3af0

Browse files
committed
replace use of action-add-labels with gh CLI
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 9492cd0 commit 39e3af0

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/jiralabels.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,8 @@ jobs:
2525
2626
- name: Apply label if URI missing
2727
if: steps.check_uri.outputs.missing == 'true'
28-
uses: actions-ecosystem/action-add-labels@v1
29-
with:
30-
labels: "needs-jira-issue"
28+
run: gh pr edit "${{ github.event.pr.number }}" --add-label "needs-jira-issue"
3129

3230
- name: Remove label if URI present
3331
if: steps.check_uri.outputs.missing == 'false'
34-
uses: actions-ecosystem/action-remove-labels@v1
35-
with:
36-
labels: "needs-jira-issue"
37-
32+
run: gh pr edit "${{ github.event.pr.number }}" --remove-label "needs-jira-issue"

0 commit comments

Comments
 (0)