Skip to content

Commit fa32635

Browse files
authored
Merge pull request #898 from PHPCSStandards/feature/ghactions-auto-remove-more-tweaks
GH Actions: auto-remove label tweaks
2 parents 880f321 + 8f47ac1 commit fa32635

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
6363
on-pr-close:
6464
runs-on: ubuntu-latest
65-
if: github.repository_owner == 'PHPCSStandards' && github.event_name == 'pull_request_target' && github.event.pull_request.merged == false
65+
# yamllint disable-line rule:line-length
66+
if: github.repository_owner == 'PHPCSStandards' && github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == false
6667

6768
name: Clean up labels on PR close
6869

0 commit comments

Comments
 (0)