ci: re-review on push (add synchronize)#28
Merged
Conversation
| on: | ||
| pull_request: | ||
| types: [opened, reopened, ready_for_review] # no synchronize: avoid re-reviewing every push | ||
| types: [opened, reopened, ready_for_review, synchronize] # synchronize: re-review on each push. Drop if cost is a concern. |
There was a problem hiding this comment.
concurrency の cancel-in-progress 設定の確認が必要です。
synchronize を追加することで、連続プッシュ時に古い実行をキャンセルする動作が期待されていますが、現在の concurrency 設定に cancel-in-progress: true が明示されているか確認してください。この設定がない場合、古い実行はキャンセルされずキューに積まれ続け、コスト増加や意図しない動作につながる可能性があります。
concurrency:
group: ai-code-review-${{ github.event.pull_request.number }}
cancel-in-progress: true # ← これが必要
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AI レビューを push のたびに再実行するよう
synchronizeをトリガに追加(smkwlab/.github#55 に追従)。連続 push 時は concurrency が古い実行をキャンセルします。