Skip to content

Commit b701ea3

Browse files
committed
ci(audits): check out the fork
1 parent 9e8fb3c commit b701ea3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/audits.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
steps:
2929
- name: Checkout
3030
uses: actions/checkout@v3
31+
with:
32+
repository: ${{ github.event.pull_request.head.repo.full_name }}
33+
ref: ${{ github.head_ref }}
3134
- name: Set up node
3235
uses: actions/setup-node@v3
3336
with:
@@ -72,6 +75,9 @@ jobs:
7275
steps:
7376
- name: Checkout
7477
uses: actions/checkout@v3
78+
with:
79+
repository: ${{ github.event.pull_request.head.repo.full_name }}
80+
ref: ${{ github.head_ref }}
7581
- name: Set up docker buildx
7682
uses: docker/setup-buildx-action@v2
7783
- name: Set up node
@@ -124,6 +130,9 @@ jobs:
124130
steps:
125131
- name: Checkout
126132
uses: actions/checkout@v3
133+
with:
134+
repository: ${{ github.event.pull_request.head.repo.full_name }}
135+
ref: ${{ github.head_ref }}
127136
- name: Set up node
128137
uses: actions/setup-node@v3
129138
with:
@@ -160,7 +169,7 @@ jobs:
160169
uses: actions/checkout@v3
161170
with:
162171
repository: ${{ github.event.pull_request.head.repo.full_name }}
163-
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
172+
ref: ${{ github.head_ref }}
164173
- name: Download audit reports
165174
uses: actions/download-artifact@v3
166175
with:

0 commit comments

Comments
 (0)