We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 70bc2e3 + 9426c6d commit 1e83ebeCopy full SHA for 1e83ebe
1 file changed
.github/workflows/flags-project-board.yml
@@ -69,7 +69,7 @@ jobs:
69
# the github.event_name is supposed to be `workflow_call`, but because this workflow lives in the special `.github` repository,
70
# it preserves the original event name (e.g. pull_request).
71
# This is a not well-documented special case.
72
- if: github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' || github.event_name == 'pull_request_review'
+ if: (github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' || github.event_name == 'pull_request_review') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
73
steps:
74
- name: Generate GitHub App Token
75
id: app-token
0 commit comments