Skip to content

ci: replace unmaintained github-tag-action with plain git tag/push#2887

Merged
mikeland73 merged 3 commits into
mainfrom
mikeland73/github-tag-action-alternative
Jun 22, 2026
Merged

ci: replace unmaintained github-tag-action with plain git tag/push#2887
mikeland73 merged 3 commits into
mainfrom
mikeland73/github-tag-action-alternative

Conversation

@mikeland73

Copy link
Copy Markdown
Collaborator

Summary

The edge release job only used mathieudutour/github-tag-action to create and push a pre-computed tag (EDGE_TAG), not its semver auto-bump feature. That action is unmaintained (last release Mar 2024) and runs on the soon-to-be-deprecated Node 20, so this replaces it with two plain git commands that do exactly what was being used. The existing contents: write permission and default GITHUB_TOKEN from checkout cover pushing the tag, and the step's outputs weren't referenced elsewhere.

How was it tested?

Static review of the workflow — the change is a no-op on behavior, swapping the action for the equivalent git tag/git push it was performing. The full edge release path runs on the weekly schedule / manual dispatch.

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.

The edge release job only used the action to create and push a
pre-computed tag (EDGE_TAG), not its semver auto-bump feature. The
action is unmaintained (last release Mar 2024) and runs on the
soon-to-be-deprecated Node 20. Replace it with two git commands, which
do exactly what was being used today with no third-party dependency.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 22, 2026 03:00
…-action-alternative

# Conflicts:
#	.github/workflows/cli-release.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CLI release GitHub Actions workflow to stop using the unmaintained mathieudutour/github-tag-action and instead create/push the precomputed edge tag using plain git, keeping the edge release flow functionally equivalent while removing the action dependency.

Changes:

  • Remove mathieudutour/github-tag-action usage for edge tag creation.
  • Add direct git tag + git push commands to create and push EDGE_TAG.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/cli-release.yml Outdated
Comment on lines +60 to +62
run: |
git tag "$EDGE_TAG"
git push origin "$EDGE_TAG"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call — made the step idempotent in 0ddcaf1. git tag -f plus git push -f origin refs/tags/$EDGE_TAG so a same-day rerun overwrites the existing tag instead of failing, and the explicit refs/tags/ ref removes the ambiguity.

Force-update the tag and push an explicit ref so a same-day rerun (when
the edge tag already exists) doesn't fail.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mikeland73 mikeland73 merged commit e015899 into main Jun 22, 2026
25 checks passed
@mikeland73 mikeland73 deleted the mikeland73/github-tag-action-alternative branch June 22, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants