From 4fa320c14988070c20b5d6e19447ddbad751b3a4 Mon Sep 17 00:00:00 2001 From: Vigers Ray <60344369+VigersRay@users.noreply.github.com> Date: Mon, 17 Nov 2025 03:10:34 +0100 Subject: [PATCH] Change pull_request to pull_request_target in workflow --- .github/workflows/ai-gdd-review.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ai-gdd-review.yml b/.github/workflows/ai-gdd-review.yml index e6dd85a880..c3704d6432 100644 --- a/.github/workflows/ai-gdd-review.yml +++ b/.github/workflows/ai-gdd-review.yml @@ -1,7 +1,7 @@ name: AI Game Design Review on: - pull_request: + pull_request_target: types: [opened, synchronize, reopened] jobs: @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Get complete history + - name: Checkout PR code uses: actions/checkout@v3 with: - fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - name: Get diff run: |