Change pull_request to pull_request_target in workflow
This commit is contained in:
parent
60ee33dd38
commit
4fa320c149
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ai-gdd-review.yml
vendored
6
.github/workflows/ai-gdd-review.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue