Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ jobs:
permissions:
pull-requests: write # Grant permission to modify labels
steps:
# step 1: checkout repository code
- name: Checkout code into workspace directory
uses: actions/checkout@v4

# step 2: remove specific labels
- name: Remove specific labels
run: gh pr edit ${{ github.event.pull_request.number }} --remove-label "ready,deployed"
run: |
gh pr edit ${{ github.event.pull_request.number }} --remove-label "ready" || true
gh pr edit ${{ github.event.pull_request.number }} --remove-label "deployed" || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading