ci: automate Dependabot updates and auto-merge#87
Conversation
Motivation: Automate GHA workflow updates via Dependabot and automatically squash-merge them when CI passes to eliminate manual maintenance. Design Choices: Configured Dependabot for github-actions and added a squash auto-merge Mergify rule for `dependabot[bot]`. Removed obsolete delayed-merge rules. Benefits: Saves maintainer time by fully automating dependency updates with high security while preserving clean linear git history.
328ed8c to
363b75d
Compare
|
I don't particularly love this because I worry about the risk of evil updates. Can we add a cooldown to this? |
Martchus
left a comment
There was a problem hiding this comment.
Good point. I have assumed this is just our default config where we specified a cooldown at some point. Now, looking at the change again, I can't find any cooldown. I found that os-autoinst/openQA@29862d9 claims there would be a default cooldown of 7 days. However, I haven't found any reference about that on https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#cooldown-. I hope the 7 day default cooldown isn't a hallucination of some AI model. Maybe we also shouldn't rely on a default for a security critical setting anyway.
We should probably clarify this before proceeding with these kinds of changes.
|
I haven't applied a cooldown for GitHub action definitions in general but we should. And the dependabot cooldown functionality is definitely not an AI hallucination. |
Yes, but the message of the referenced commit states:
Hence I assumed it is a Dependabot default and checked their config. Especially the wording "built-in" makes it sound like that. Ok, so this default is actually a default specified by us and not a general default of Dependabot. Then we probably need to add the cooldown in https://github.com/os-autoinst/openQA-python-client/blob/main/.github/dependabot.yml as well if we want to automate merging those PRs. |
done in #88 |
|
Then I guess this is fine. I don't love it, but eh, I'm outvoted. |
Motivation:
Automate GHA workflow updates via Dependabot and automatically squash-merge
them when CI passes to eliminate manual maintenance.
Design Choices:
Configured Dependabot for github-actions and added a squash auto-merge
Mergify rule for
dependabot[bot]. Removed obsolete delayed-merge rules.Benefits:
Saves maintainer time by fully automating dependency updates with high security
while preserving clean linear git history.