Skip to content

Commit

Permalink
ci: Add fetch-depth: 0 as a workaround get tags on checkout
Browse files Browse the repository at this point in the history
We should not be required to add this, but fetch-tags: true seems broken.
See actions/checkout#1781 for a second opinion,
and possible resolution.
  • Loading branch information
abxy committed Jul 11, 2024
1 parent 5d730cd commit 9fc6b00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
uses: actions/checkout@v4
with:
fetch-tags: true
# XXX: fetch-depth: 0 should not be required. But this seems to be an issue
# with the checkout action: https://github.com/actions/checkout/issues/1781
fetch-depth: 0

- name: Git Describe
run: |
Expand Down

0 comments on commit 9fc6b00

Please sign in to comment.