Bump lefthook from 1.7.15 to 1.7.17 #1984
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Remove outdated labels | |
on: | |
pull_request_target: | |
types: | |
- closed | |
- converted_to_draft | |
- ready_for_review | |
jobs: | |
remove-merged-pr-labels: | |
name: Remove merged pull request labels | |
if: github.event.pull_request.merged | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mondeja/remove-labels-gh-action@v2.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
PR: waiting for review | |
PR: WIP | |
PR: changes requested | |
PR: merge conflicts / rebase needed | |
PR/Issue: dependent | |
PR: stale | |
remove-closed-pr-labels: | |
name: Remove closed pull request labels | |
if: github.event_name == 'pull_request_target' && (! github.event.pull_request.merged) && (github.event.action != 'converted_to_draft') && (github.event.action != 'ready_for_review') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mondeja/remove-labels-gh-action@v2.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
PR: waiting for review | |
PR: WIP | |
PR: changes requested | |
PR: merge conflicts / rebase needed | |
PR/Issue: dependent | |
PR: stale | |
remove-draft-pr-labels: | |
name: Remove labels from draft pull requests | |
if: github.event_name == 'pull_request_target' && github.event.action == 'converted_to_draft' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mondeja/remove-labels-gh-action@v2.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
PR: waiting for review | |
remove-ready-pr-labels: | |
name: Remove labels when draft pr is marked ready for review | |
if: github.event_name == 'pull_request_target' && github.event.action == 'ready_for_review' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mondeja/remove-labels-gh-action@v2.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
PR: WIP |