ci: 隔週でリリースリマインド issue を作成するワークフローを追加 - #59
Merged
Conversation
Co-Authored-By: akiyama <15t4001r@gmail.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: akiyama <15t4001r@gmail.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.
Summary
2週に1回・月曜に、未リリースの変更があればリリースを促す issue を作成するワークフロー(
.github/workflows/release-reminder.yml)を追加します。buffett-code-dev/github-actions/github/create-release-reminder-issue@mainを利用(最新リリースタグとmainの差分がある場合のみ issue を作成).github/CODEOWNERSのデフォルトルール(*)に記載された個人ユーザーを抽出し assignee に設定(チーム@org/teamは issue にアサインできないため除外)。CODEOWNERS を変更すればリマインド先も自動で追従します。現状は@ShogoAkiyamaに解決されます。cron: '0 0 * * 1'(毎週月曜 0:00 UTC = JST 9:00)。GitHub Actions の cron は「隔週」を直接指定できないため、ISO週番号が偶数の週のみ実行することで2週に1回にしています(workflow_dispatchの手動実行時は常に実行)。release-requiredラベルを付与します。このラベルはリポジトリに作成済みです。補足: 年末の ISO 週 53 → 週 1 の境界では奇数週が連続し、まれに間隔が2週から3週にずれる場合があります(実用上は許容範囲)。
Test Plan
python3 -c "import yaml; yaml.safe_load(...)"で YAML 構文を検証* @ShogoAkiyama)で実行しShogoAkiyamaに解決されることを確認workflow_dispatchで手動実行し、issue 作成を確認可能Link to Devin session: https://app.devin.ai/sessions/bda3a35a680c455a89b9e9303c99750b