watchtower-notify に slug input を追加 (#110)#111
Merged
Conversation
リポ名 ≠ プラグイン slug / monorepo のケースで watchtower が照合できるよう、 workflow_call.inputs に slug を追加し payload に条件付きで含める。 未指定時(default '')は従来どおり version のみ送信し挙動は変わらない。 Co-authored-by: Claude <noreply@anthropic.com>
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.
概要
reusable workflow `watchtower-notify.yml` に `slug` input を追加し、watchtower への通知 body に条件付きで含める。Closes #110
背景
watchtower は照合の起点 slug を OIDC トークンの `repository` クレームから決め打ちしている(`tarosky/kestrel` → `kestrel`)。このため リポ名 ≠ プラグイン slug(例: `tarosky/kestrel` の中身が `kestrel-wp`)や monorepo を照合できず、通知が 0 件で静かに無視される。watchtower 側は body の `slug` を受理済み(tarosky/watchtower#10)。
変更点
完了条件
関連