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
16 changes: 16 additions & 0 deletions .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Remove Labels on New Push

on:
pull_request_target:
types: [opened, synchronize] # Trigger on PR opened or new commits pushed

jobs:
remove_labels:
runs-on: ubuntu-latest
permissions:
pull-requests: write # Grant permission to modify labels
steps:
- name: Remove specific labels
run: gh pr edit ${{ github.event.pull_request.number }} --remove-label "ready,deployed"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}