Skip to content

Commit 45d9c19

Browse files
committed
maint: remove check for pull request from workflow with pull_request_target trigger
Signed-off-by: Yury V. Zaytsev <[email protected]>
1 parent 0f03855 commit 45d9c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-label-approve.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 5
1717

18-
if: ${{ github.event.issue.pull_request && (contains(github.event.label.name, 'approved') || inputs.issue_number != '') }}
18+
if: ${{ contains(github.event.label.name, 'approved') || inputs.issue_number != '' }}
1919

2020
permissions:
2121
pull-requests: write

0 commit comments

Comments
 (0)