Skip to content

Commit f617d52

Browse files
authored
fix(ci): checking out non origin branch
1 parent 1dcdfc5 commit f617d52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test_action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212
with:
13-
ref: ${{ github.head_ref }}
13+
ref: ${{github.event.pull_request.head.ref}}
14+
repository: ${{github.event.pull_request.head.repo.full_name}}
1415
fetch-depth: 0 # ensures that tags are fetched, seems to be needed
1516
- name: Capture commit id
1617
id: capture

0 commit comments

Comments
 (0)