Skip to content

Commit 89dbf84

Browse files
committed
[actions] remove labels with GitHub CLI
1 parent 450fb32 commit 89dbf84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pr-labels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
pull-requests: write # Grant permission to modify labels
1212
steps:
1313
- name: Remove specific labels
14-
uses: actions-ecosystem/action-remove-labels@v1 # Use a marketplace action for label removal
15-
with:
16-
labels: "ready,deployed" # Comma-separated list of labels to remove
14+
run: gh pr edit ${{ github.event.pull_request.number }} --remove-label "ready,deployed"
15+
env:
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)