Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add workflow to unstale on PR commit
  • Loading branch information
pathmapper committed Apr 22, 2023
1 parent dc04a2d commit 9d966c2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pr_unstale_commit.yml
@@ -0,0 +1,17 @@
name: Remove Labels PR Commit

on: pull_request_target

jobs:
remove_labels:
permissions:
pull-requests: write # for actions-ecosystem/action-remove-labels to remove PR labels
if: contains(github.event.pull_request.labels.*.name, 'stale')
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-remove-labels@v1
if: ${{ github.event.comment.user.url != 'https://github.com/apps/github-actions' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: |
stale

0 comments on commit 9d966c2

Please sign in to comment.