Skip to content

Commit c4c816f

Browse files
authoredApr 22, 2023
Merge pull request #52790 from pathmapper/unstale
2 parents 699fa93 + 9d966c2 commit c4c816f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Remove Labels PR Commit
2+
3+
on: pull_request_target
4+
5+
jobs:
6+
remove_labels:
7+
permissions:
8+
pull-requests: write # for actions-ecosystem/action-remove-labels to remove PR labels
9+
if: contains(github.event.pull_request.labels.*.name, 'stale')
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions-ecosystem/action-remove-labels@v1
13+
if: ${{ github.event.comment.user.url != 'https://github.com/apps/github-actions' }}
14+
with:
15+
github_token: ${{ secrets.GITHUB_TOKEN }}
16+
labels: |
17+
stale

0 commit comments

Comments
 (0)
Please sign in to comment.