From 6b8415a9a4f737c5df07099dd7f19266dcbcafa7 Mon Sep 17 00:00:00 2001 From: Mike Landau Date: Sun, 21 Jun 2026 19:59:56 -0700 Subject: [PATCH 1/2] ci: replace mathieudutour/github-tag-action with plain git tag/push 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) --- .github/workflows/cli-release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index b4fb51419e8..a9f2453a8de 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -57,12 +57,9 @@ jobs: # This tag is semver and works with semver.Compare run: echo "EDGE_TAG=0.0.0-edge.$(date +%Y-%m-%d)" >> $GITHUB_ENV - name: Set edge tag - id: tag_version - uses: mathieudutour/github-tag-action@v6.1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - custom_tag: ${{ env.EDGE_TAG }} - tag_prefix: "" + run: | + git tag "$EDGE_TAG" + git push origin "$EDGE_TAG" - name: Set up go uses: actions/setup-go@v5 with: From 0ddcaf110a986a45efca633fb32d3be461435979 Mon Sep 17 00:00:00 2001 From: Mike Landau Date: Sun, 21 Jun 2026 20:16:46 -0700 Subject: [PATCH 2/2] ci: make edge tag step idempotent 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) --- .github/workflows/cli-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index 837d2e62c20..7728bbae558 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -59,9 +59,10 @@ jobs: # This tag is semver and works with semver.Compare run: echo "EDGE_TAG=0.0.0-edge.$(date +%Y-%m-%d)" >> $GITHUB_ENV - name: Set edge tag + # Force so a same-day rerun (the edge tag already exists) is idempotent. run: | - git tag "$EDGE_TAG" - git push origin "$EDGE_TAG" + git tag -f "$EDGE_TAG" + git push -f origin "refs/tags/$EDGE_TAG" - name: Set up go uses: actions/setup-go@v6 with: