summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2023-02-07 15:40:47 +0100
committerJan Macku <jamacku@redhat.com>2023-02-07 16:00:49 +0100
commitde95bb2a98de9de3b18365122165ac4ac425fcbd (patch)
tree7f386fe52ffde43452d946c070a915c3175dfa33 /.github
parentd709b92ef14e3e8c5c831c296cfbe1e6fc5202de (diff)
downloadsystemd-de95bb2a98de9de3b18365122165ac4ac425fcbd.tar.gz
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.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/labeler.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index bab6da7edd..c282df8d73 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -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",