We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pull_request_target
1 parent 0f03855 commit 45d9c19Copy full SHA for 45d9c19
.github/workflows/pr-label-approve.yml
@@ -15,7 +15,7 @@ jobs:
15
runs-on: ubuntu-latest
16
timeout-minutes: 5
17
18
- if: ${{ github.event.issue.pull_request && (contains(github.event.label.name, 'approved') || inputs.issue_number != '') }}
+ if: ${{ contains(github.event.label.name, 'approved') || inputs.issue_number != '' }}
19
20
permissions:
21
pull-requests: write
0 commit comments