mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
Merge pull request #26338 from jamacku/fix-labeling
ci: Fix automatic removing of labels when PR is closed
This commit is contained in:
commit
c820bd413e
4
.github/workflows/labeler.yml
vendored
4
.github/workflows/labeler.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
||||
})
|
||||
|
||||
- uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975
|
||||
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.issue.pull_request
|
||||
if: github.event_name == 'pull_request_target' && github.event.action == 'closed'
|
||||
with:
|
||||
script: |
|
||||
for (const label of ["please-review",
|
||||
@ -97,7 +97,7 @@ jobs:
|
||||
"needs-discussion 🤔",
|
||||
"needs-reporter-feedback ❓",
|
||||
"dont-merge",
|
||||
"squash-on-merge,
|
||||
"squash-on-merge",
|
||||
"quick-review"]) {
|
||||
try {
|
||||
await github.rest.issues.removeLabel({
|
||||
|
Loading…
Reference in New Issue
Block a user