Change pull_request to pull_request_target in workflow

This commit is contained in:
Vigers Ray 2025-11-17 03:10:34 +01:00 committed by GitHub
parent 60ee33dd38
commit 4fa320c149
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: |