mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-13 04:01:14 +00:00
👷 Run with pull request target
This commit is contained in:
parent
04a56fc323
commit
b08cb9eceb
1 changed files with 3 additions and 1 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -1,6 +1,6 @@
|
|||
name: Test
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
|
@ -21,6 +21,7 @@ jobs:
|
|||
echo "$EOF" >> "$GITHUB_ENV"
|
||||
id: all
|
||||
- uses: ./
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
with:
|
||||
header: All
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
|
|
@ -33,6 +34,7 @@ jobs:
|
|||
```
|
||||
</details>
|
||||
- uses: ./
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
with:
|
||||
header: All
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue