Skip to content

fix: mark auto-tag tags explicitly for the release guard - #285

Merged
sasagar merged 1 commit into
devfrom
fix/issue-282-release-guard-marker
Oct 14, 2026
Merged

sasagar merged 1 commit into
devfrom
fix/issue-282-release-guard-marker

Conversation

@sasagar

@sasagar sasagar commented Oct 14, 2026

Copy link
Copy Markdown
Member

Closes #282

#279 で追加した guard は、tagger 名が github-actions[bot] かどうかの文字列比較だけで auto-tag のタグを判定していました。そのため、auto-tag.yml の git の設定を変えるだけで判定が効かなくなり、#278 の問題が再発するおそれがありました。

変更内容

  • auto-tag.yml: タグのメッセージに目印 [auto-tag] を入れるようにしました(Release vX.Y.Z [auto-tag])。同期が必要なことをコメントで残しています。
  • release.yml: guard ジョブで、タグのメッセージに [auto-tag] が含まれていればスキップします。tagger が github-actions[bot] かどうかの判定は、目印を入れる前に作られたタグのために残しました。

2 つのワークフローの約束事が、目に見える目印として残るようになります。

動作の確認について

タグのメッセージはリリース本文の生成には使っていないので、目印が入ってもリリースノートは変わりません。ワークフロー上での動作は、次のリリースで確認することになります。

https://claude.ai/code/session_01Y29fBeRP344FME6de48wUv

auto-tag now adds an "[auto-tag]" marker to the tag message and the
release.yml guard checks for it, so the two workflows no longer depend
on the git user.name string alone. The tagger check remains as a
fallback for tags created before the marker.

Claude-Session: https://claude.ai/code/session_01Y29fBeRP344FME6de48wUv
@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: Love-Rox/rox/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 86d6a3ad-6af8-4277-96d8-c26c631342b3
📥 Commits

Reviewing files that changed from the base of the PR and between b78fc9a and a7fb95c.

📒 Files selected for processing: 2
  • .github/workflows/auto-tag.yml
  • .github/workflows/release.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sasagar
sasagar merged commit 118812e into dev Oct 14, 2026
11 checks passed
@sasagar
sasagar deleted the fix/issue-282-release-guard-marker branch October 14, 2026 00:03
This was referenced Oct 14, 2026
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.

1 participant