Skip to content

Commit 74252f1

Browse files
committed
fix guardrail for forks
1 parent b80d7ae commit 74252f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/coana-guardrail.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- name: Fetch the PR branch
1616
run: |
17-
git fetch origin ${{ github.head_ref }}:${{ github.head_ref }} --depth=1
17+
git fetch ${{ github.event.pull_request.head.repo.clone_url }} ${{ github.head_ref }}:${{ github.head_ref }} --depth=1
1818
1919
- name: Get list of changed files relative to the main/master branch
2020
id: changed-files

0 commit comments

Comments
 (0)