Skip to content

Commit 3f585e3

Browse files
absorbbclaude
andcommitted
fix(release): drop the moving current tag; consumers pin release tags
Reverts the `current` half of #10 (the gpt-5.6-terra switch stays). release.yml no longer force-moves a `current` tag; README documents pinning a dated release tag (currently 1.32.20260826) and bumping deliberately. The `current` tag itself is deleted from origin once every consumer PR references 1.32.20260826. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent d3c646e commit 3f585e3

2 files changed

Lines changed: 5 additions & 28 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,5 @@ jobs:
2828
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
2929
echo "Created tag: $TAG"
3030
31-
# `current` is a moving tag that always points at the latest release on
32-
# main. Consumers reference `ai-review.yml@current` so they pick up new
33-
# releases without a per-repo re-pin. To roll back every consumer at
34-
# once, move the tag by hand to an older release:
35-
# git tag -f current 1.30.20260821 && git push -f origin current
36-
# (the next merge to main moves it forward again).
37-
- name: "🏷️ Move `current` tag"
38-
run: |
39-
set -euo pipefail
40-
git tag -f current
41-
git push -f origin current
42-
echo "Moved tag: current -> $(git rev-parse --short HEAD)"
43-
4431
- name: "📝 Write summary"
45-
run: echo "Released tag \`${{ steps.tag.outputs.tag }}\` (\`current\` now points here)" >> "$GITHUB_STEP_SUMMARY"
32+
run: echo "Released tag \`${{ steps.tag.outputs.tag }}\`" >> "$GITHUB_STEP_SUMMARY"

‎README.md‎

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ on:
6363

6464
jobs:
6565
ai-review:
66-
uses: jitsucom/github-workflows/.github/workflows/ai-review.yml@current
66+
uses: jitsucom/github-workflows/.github/workflows/ai-review.yml@1.32.20260826
6767
secrets: inherit
6868
with:
6969
pr_number: ${{ inputs.pr_number }}
@@ -84,19 +84,9 @@ Use the `review_instructions` input to focus the review on what matters for your
8484
#### Versioning
8585

8686
Every merge to `main` is tagged `1.<commit-count>.<yyyymmdd>` by
87-
[`release.yml`](.github/workflows/release.yml), which also moves the `current` tag to the
88-
same commit.
89-
90-
- `@current` (recommended) — consuming repos pick up each release automatically on the
91-
next run; no per-repo re-pin.
92-
- `@1.30.20260821` — pin a specific release if a repo needs to opt out of updates.
93-
94-
To roll back **all** `@current` consumers at once, move the tag to an older release
95-
(the next merge to `main` moves it forward again):
96-
97-
```sh
98-
git tag -f current 1.30.20260821 && git push -f origin current
99-
```
87+
[`release.yml`](.github/workflows/release.yml). Consuming repos pin a release tag and bump
88+
it deliberately — there is no floating tag, so a github-workflows release never changes a
89+
consumer's review behaviour until that repo opts in.
10090

10191
## Composite actions
10292

0 commit comments

Comments
 (0)