Skip to content

Commit

Permalink
Merge pull request #523 from inteon/fetch_tags_in_trust_bundle_gh_action
Browse files Browse the repository at this point in the history
Add 'fetch-depth: 0' to Debian trust bundle GH checkout action
  • Loading branch information
cert-manager-prow[bot] authored Dec 26, 2024
2 parents 8682285 + 87f86cb commit d9852c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/debian-trust-package-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v4
# Adding `fetch-depth: 0` makes sure tags are also fetched. We need
# the tags so `git describe` returns a valid version.
# see https://github.com/actions/checkout/issues/701 for extra info about this option
with: { fetch-depth: 0 }

- id: go-version
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/debian-trust-package-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
exit 1
- uses: actions/checkout@v4
# Adding `fetch-depth: 0` makes sure tags are also fetched. We need
# the tags so `git describe` returns a valid version.
# see https://github.com/actions/checkout/issues/701 for extra info about this option
with: { fetch-depth: 0 }

- id: go-version
run: |
Expand Down

0 comments on commit d9852c1

Please sign in to comment.