Skip to content

Fix tag-update workflow failing on every tag push#919

Merged
ceblanton merged 1 commit into
mainfrom
fix-tag-update-action
Jun 24, 2026
Merged

Fix tag-update workflow failing on every tag push#919
ceblanton merged 1 commit into
mainfrom
fix-tag-update-action

Conversation

@ceblanton

Copy link
Copy Markdown
Contributor

actions/checkout creates a local refs/tags/ ref for the triggering tag before the "Fetch tags" step runs git fetch --tags, which then rejects with "would clobber existing tag" since the fetch is not forced. Force the fetch so the workflow can proceed.

Describe your changes

Issue ticket number and link (if applicable)

Fixes #XXX (replace XXX with the issue number and GitHub will autolink the PR to the issue)

Checklist before requesting a review

  • I ran my code
  • I tried to make my code readable
  • I tried to comment my code
  • I wrote a new test, if applicable
  • I wrote new instructions/documentation, if applicable
  • I ran pytest and inspected it's output
  • I ran pylint and attempted to implement some of it's feedback
  • No print statements; all user-facing info uses logging module

Note: If you are a code maintainer updating the tag or releasing a new fre-cli version, please use the release_procedure.md template. To quickly use this template, open a new pull request, choose your branch, and add ?template=release_procedure.md to the end of the url.

actions/checkout creates a local refs/tags/<name> ref for the
triggering tag before the "Fetch tags" step runs git fetch --tags,
which then rejects with "would clobber existing tag" since the
fetch is not forced. Force the fetch so the workflow can proceed.
@ceblanton ceblanton requested review from ilaflott and singhd789 June 24, 2026 21:21
@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.09%. Comparing base (959795f) to head (a57ab52).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #919   +/-   ##
=======================================
  Coverage   82.09%   82.09%           
=======================================
  Files          67       67           
  Lines        3736     3736           
=======================================
  Hits         3067     3067           
  Misses        669      669           
Flag Coverage Δ
unittests 82.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 959795f...a57ab52. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ceblanton ceblanton merged commit e1177e6 into main Jun 24, 2026
9 checks passed
@ceblanton ceblanton deleted the fix-tag-update-action branch June 24, 2026 22:14
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