Skip to content

Commit c27d12b

Browse files
authored
Merge pull request #2033 from tiopex/fix-pull-target
Actions: switch github.event_name to pull_request_target
2 parents 1a3ca5c + b7a3b3c commit c27d12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
set-envs:
1919
if: (github.event_name != 'schedule') || (github.repository == 'ROCKNIX/distribution' && github.ref_name == 'next')
2020
environment:
21-
name: ${{ github.event_name == 'pull_request' && 'pr-approval' || 'auto' }}
21+
name: ${{ github.event_name == 'pull_request_target' && 'pr-approval' || 'auto' }}
2222
runs-on: ubuntu-24.04
2323
outputs:
2424
NIGHTLY: ${{ github.event_name == 'workflow_dispatch' && inputs.release == true && 'no' || 'yes' }}

0 commit comments

Comments
 (0)