Skip to content

Commit 83b2863

Browse files
committed
Fix conditions.
1 parent fca3bfc commit 83b2863

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pull-requests-built-files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on:
2727
concurrency:
2828
# The concurrency group contains the workflow name and the branch name for pull requests
2929
# or the commit hash for any other events.
30-
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
30+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.sha }}
3131

3232
# Disable permissions for all available scopes by default.
3333
# Any needed permissions should be configured at the job level.
@@ -41,7 +41,7 @@ jobs:
4141
permissions:
4242
issues: write
4343
pull-requests: write
44-
if: ${{ github.event_name == 'pull_request' }}
44+
if: ${{ github.event_name == 'pull_request_target' }}
4545
steps:
4646
- name: Checkout repository
4747
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)