Skip to content

Commit 880f321

Browse files
authored
Merge pull request #897 from PHPCSStandards/feature/ghactions-auto-remove-awaiting-feedback
GH Actions: auto-remove label on review request
2 parents c828870 + 69a581d commit 880f321

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/label-remove-outdated.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
pull_request_target:
99
types:
1010
- closed
11+
- review_requested
1112

1213
jobs:
1314
on-issue-close:
@@ -27,6 +28,19 @@ jobs:
2728
Status: needs investigation
2829
Status: triage
2930
31+
on-pr-review-request:
32+
runs-on: ubuntu-latest
33+
if: github.repository_owner == 'PHPCSStandards' && github.event.action == 'review_requested'
34+
35+
name: "Clean up labels on PR (re-)review request"
36+
37+
steps:
38+
- uses: mondeja/remove-labels-gh-action@v2
39+
with:
40+
token: ${{ secrets.GITHUB_TOKEN }}
41+
labels: |
42+
Status: awaiting feedback
43+
3044
on-pr-merge:
3145
runs-on: ubuntu-latest
3246
if: github.repository_owner == 'PHPCSStandards' && github.event.pull_request.merged == true

0 commit comments

Comments
 (0)