Skip to content

Fix release workflow tag lookup with full checkout history - #2883

Merged
pvcraven merged 2 commits into
developmentfrom
copilot/fix-failing-github-actions-job
Aug 21, 2026
Merged

Fix release workflow tag lookup with full checkout history#2883
pvcraven merged 2 commits into
developmentfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The run job in the release workflow was failing while generating release notes because the checkout did not include enough history to resolve ${current_tag}^. As a result, git describe could not find the previous tag for tagged releases.

  • Root cause

    • Generate Release Notes assumes the tagged commit’s parent is available locally:
      previous_tag=$(git describe --abbrev=0 --match "*" --tags $current_tag^)
    • The workflow was using the default shallow checkout, so tag ancestry was incomplete.
  • Change

    • Configure actions/checkout@v5 with full history in .github/workflows/release.yml:
      - uses: actions/checkout@v5
        with:
          fetch-depth: 0
  • Effect

    • Makes tag ancestry available during release creation.
    • Allows previous-tag resolution and release note generation to work for tagged builds.

Co-authored-by: pvcraven <1463116+pvcraven@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job 'run' Fix release workflow tag lookup with full checkout history Aug 21, 2026
Copilot AI requested a review from pvcraven August 21, 2026 15:54
@pvcraven
pvcraven marked this pull request as ready for review August 21, 2026 15:54
@pvcraven
pvcraven merged commit a9e8c39 into development Aug 21, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants