Skip to content

Commit 43fbf08

Browse files
Merge pull request #87 from ricardogsilva/86-using-as-action-fails-due-to-missing-version
Ensure a full git clone is used when running in GitHub actions
2 parents f8190e6 + bee593e commit 43fbf08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ runs:
7070
uses: actions/setup-python@v5
7171
with:
7272
python-version-file: "${{ github.action_path }}/pyproject.toml"
73+
- name: "ensure full git repo is present"
74+
shell: "bash"
75+
run: |
76+
cd ${{ github.action_path }}
77+
git fetch --unshallow
7378
- name: "Install cite-runner"
7479
shell: "bash"
7580
run: |

0 commit comments

Comments
 (0)