Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,5 @@ jobs:
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
echo "Created tag: $TAG"

# `current` is a moving tag that always points at the latest release on
# main. Consumers reference `ai-review.yml@current` so they pick up new
# releases without a per-repo re-pin. To roll back every consumer at
# once, move the tag by hand to an older release:
# git tag -f current 1.30.20260821 && git push -f origin current
# (the next merge to main moves it forward again).
- name: "🏷️ Move `current` tag"
run: |
set -euo pipefail
git tag -f current
git push -f origin current
echo "Moved tag: current -> $(git rev-parse --short HEAD)"

- name: "📝 Write summary"
Comment thread
absorbb marked this conversation as resolved.
run: echo "Released tag \`${{ steps.tag.outputs.tag }}\` (\`current\` now points here)" >> "$GITHUB_STEP_SUMMARY"
run: echo "Released tag \`${{ steps.tag.outputs.tag }}\`" >> "$GITHUB_STEP_SUMMARY"
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ on:

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

Every merge to `main` is tagged `1.<commit-count>.<yyyymmdd>` by
[`release.yml`](.github/workflows/release.yml), which also moves the `current` tag to the
same commit.

- `@current` (recommended) — consuming repos pick up each release automatically on the
next run; no per-repo re-pin.
- `@1.30.20260821` — pin a specific release if a repo needs to opt out of updates.

To roll back **all** `@current` consumers at once, move the tag to an older release
(the next merge to `main` moves it forward again):

```sh
git tag -f current 1.30.20260821 && git push -f origin current
```
[`release.yml`](.github/workflows/release.yml). Consuming repos pin a release tag and bump
it deliberately — there is no floating tag, so a github-workflows release never changes a
consumer's review behaviour until that repo opts in.

## Composite actions

Expand Down
Loading