From b7a3b3cf5d6928fc768cea6331317d3d4f467240 Mon Sep 17 00:00:00 2001 From: tiopex Date: Tue, 18 Nov 2025 07:38:06 +0100 Subject: [PATCH] Actions: switch github.event_name to pull_request_target --- .github/workflows/build-nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index 18e6345665..6ea366ddd6 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -18,7 +18,7 @@ jobs: set-envs: if: (github.event_name != 'schedule') || (github.repository == 'ROCKNIX/distribution' && github.ref_name == 'next') environment: - name: ${{ github.event_name == 'pull_request' && 'pr-approval' || 'auto' }} + name: ${{ github.event_name == 'pull_request_target' && 'pr-approval' || 'auto' }} runs-on: ubuntu-24.04 outputs: NIGHTLY: ${{ github.event_name == 'workflow_dispatch' && inputs.release == true && 'no' || 'yes' }}