mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
ci: remove if: github.event.issue.pull_request
from labeler.yml
`github.event.issue.pull_request` is an object, not a boolean. This is the root cause of why the step that is supposed to remove labels is always skipped. Having this condition in place is not necessary since the workflow is run on the `pull_request_target` event.
This commit is contained in:
parent
d709b92ef1
commit
de95bb2a98
2
.github/workflows/labeler.yml
vendored
2
.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",
|
||||
|
|
Loading…
Reference in a new issue