Skip to content

Commit

Permalink
chore(ci): checkout full depth in changelog workflow (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
neuronull committed Feb 9, 2024
1 parent 4707d11 commit 34b66be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ jobs:
env:
PR_HAS_LABEL: ${{ contains( github.event.pull_request.labels.*.name, 'no-changelog') }}
steps:
# checkout full depth because in the check_changelog_fragments script, we need to specify a
# merge base. If we only shallow clone the repo, git may not have enough history to determine
# the base.
- uses: actions/checkout@v4
with:
fetch-depth: 0

- run: |
if [[ $PR_HAS_LABEL == 'true' ]] ; then
Expand Down

0 comments on commit 34b66be

Please sign in to comment.