From 90855a7cc029ed9e9bd3601f9c465e1319c50c01 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Sun, 21 Sep 2025 16:25:09 -0400 Subject: [PATCH] ci(nix): pull_request_target -> pull_request Signed-off-by: Seth Flynn --- .github/workflows/nix.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 09bc6ca6e..4349da448 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -33,7 +33,7 @@ on: # Workflows - ".github/workflows/nix.yml" - pull_request_target: + pull_request: paths: # File types - "**.cpp" @@ -92,19 +92,8 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Get merge commit - if: ${{ github.event_name == 'pull_request_target' }} - id: merge-commit - uses: PrismLauncher/PrismLauncher/.github/actions/get-merge-commit@develop - with: - pull-request-id: ${{ github.event.number }} - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout repository uses: actions/checkout@v5 - with: - ref: ${{ steps.merge-commit.outputs.merge-commit-sha || github.sha }} - name: Install Nix uses: DeterminateSystems/nix-installer-action@v19 @@ -113,7 +102,7 @@ jobs: # For PRs - name: Setup Nix Magic Cache - if: ${{ github.event_name == 'pull_request_target' }} + if: ${{ github.event_name == 'pull_request' }} uses: DeterminateSystems/magic-nix-cache-action@v13 with: diagnostic-endpoint: ""