ci: create PR and automatically merge when a dependency updates#695
ci: create PR and automatically merge when a dependency updates#695vladfrangu merged 8 commits intomasterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the template-update automation to wait for CI on the pushed update branch and, when CI succeeds, merge directly to master (falling back to opening/updating a PR only when needed).
Changes:
- Add a “wait for CI” polling/watch step to find the
lint_and_test.yamlrun for the exact pushed commit. - Attempt an automatic merge to
masteron successful CI and delete the update branch afterward. - Add workflow-level concurrency to
lint_and_test.yamlto cancel in-progress runs per ref.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/update-templates.yml |
Adds CI wait logic, auto-merge to master on success, and PR creation/update fallback with CI status in the body. |
.github/workflows/lint_and_test.yaml |
Adds concurrency configuration to reduce redundant overlapping CI runs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Here is what claude thinks about it: The critical issues don't feel that critical to me, but sharing it anyway, the suggested architecture might be an interesting bit. |
|
I need to also apply the Copilot reviews, but I do love how AI wrote this and AI is roasting it back 😄 |
|
I do like the idea of PRs with auto-merge tho, might to that route |
|
Where are we with this one? |
6f8cdb0 to
b7e7650
Compare
b7e7650 to
6f8cdb0
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.github/workflows/lint_and_test.yaml
Outdated
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
Woo, it works! |
This change will keep opening the PR for new image versions but will automatically merge it