We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc2def commit d5a8f03Copy full SHA for d5a8f03
.github/workflows/pr-labels.yml
@@ -10,7 +10,14 @@ jobs:
10
permissions:
11
pull-requests: write # Grant permission to modify labels
12
steps:
13
+ # step 1: checkout repository code
14
+ - name: Checkout code into workspace directory
15
+ uses: actions/checkout@v4
16
+
17
+ # step 2: remove specific labels
18
- name: Remove specific labels
- run: gh pr edit ${{ github.event.pull_request.number }} --remove-label "ready,deployed"
19
+ run: |
20
+ gh pr edit ${{ github.event.pull_request.number }} --remove-label "ready" || true
21
+ gh pr edit ${{ github.event.pull_request.number }} --remove-label "deployed" || true
22
env:
23
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments