We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da88433 commit 39a0c3eCopy full SHA for 39a0c3e
.github/workflows/pr-preview.yml
@@ -1,17 +1,23 @@
1
name: PR Preview
2
+
3
on:
- pull_request: {}
4
+ pull_request_target:
5
+ types: [opened, synchronize, reopened]
6
7
jobs:
8
dispatch:
9
runs-on: ubuntu-latest
10
permissions:
11
+ contents: read
12
pull-requests: write
13
env:
14
branch_name: ${{ github.event.pull_request.head.ref }}
15
GH_TOKEN: ${{ github.token }}
16
steps:
17
- uses: actions/checkout@v4
18
+ with:
19
+ ref: ${{ github.event.pull_request.head.ref }}
20
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
21
- uses: actions/setup-node@v4
22
with:
23
node-version: '16'
0 commit comments