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 5d331e5 commit dbc2defCopy full SHA for dbc2def
.github/workflows/pr-labels.yml
@@ -0,0 +1,16 @@
1
+name: Remove Labels on New Push
2
+
3
+on:
4
+ pull_request_target:
5
+ types: [opened, synchronize] # Trigger on PR opened or new commits pushed
6
7
+jobs:
8
+ remove_labels:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ pull-requests: write # Grant permission to modify labels
12
+ steps:
13
+ - name: Remove specific labels
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