Repository navigation
ci: テスト成功後にDependabotのtagpr更新を自動マージ - #24
Conversation
PR Reviewer Guide 🔍(Review updated until commit 5dbda49)Here are some key observations to aid the review process:
✅ Resolved findings.github/workflows/dependabot-auto-merge.yml:49-51PR Tests Skipped For .github/workflows/dependabot-auto-merge.yml:94-97Merge Rejected If a branch requires linear history while the repository also allows merge commits, this always selects |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Persistent review updated to latest commit 5dbda49 |
PR Code Suggestions ✨No code suggestions found for the PR. |
User description
変更内容
Dependabot による Songmu/tagpr のみの更新を、最新コミットのテスト成功後に自動マージします。既存の dependencies グループの PR でも実際の変更が tagpr の参照更新だけなら対象になります。今後の更新は専用グループに分離します。
test/Tests/CIの完了を起点に、PR の作成者・対象ブランチ・最新 SHA・差分・最新のテスト実行を確認します。導入条件
対象リポジトリで既存 App と Actions Secrets
CLIENT_ID/APP_PRIVATE_KEYを利用可能にしてください。App の Contents / Pull requests の読み書き権限を使用し、Actions の権限追加は不要です。既存のブランチ保護や ruleset の bypass 対象には追加しません。この PR のマージと通常の tagpr リリース後、各リポジトリに作られる同期 PR をマージすると有効になります。既にテスト完了済みの Dependabot PR は導入後にテストを再実行してください。別の必須チェックが遅れて完了する場合もテストの再実行が必要です。
検証
node --test tests/*.test.cjs: 24ケース成功git diff --check: 成功PR Type
Enhancement, Tests, Documentation
Description
Auto-merge verified Dependabot
Songmu/tagprreference updates.Separate
tagprupdates into a Dependabot group.Sync the workflow across target repositories.
Test rejection of unsafe or stale updates.
Diagram Walkthrough
File Walkthrough
3 files
Separate synced `tagpr` updates from other dependenciesGroup local `tagpr` updates separately from dependenciesInclude auto-merge workflow in repository file synchronization1 files
Verify tested tagpr-only changes before App-backed merge2 files
Run auto-merge policy tests on pushes and PRsTest merge eligibility and rejection of unsafe changes1 files
Document auto-merge safeguards, rollout, and required credentials