feat: support automerge of npm_and_yarn group PRs#659
feat: support automerge of npm_and_yarn group PRs#659toomuchdesign wants to merge 1 commit intofastify:mainfrom
Conversation
|
No linked issues found. Please add the corresponding issues in the pull request description. |
|
Thanks for the PR. I'm not entirely sure how the logic would work though. The PR is handling an "update group" gracefully now, but we are missing a fundamental piece of information which is the "update type" in any case. So, even if we handle this type of grouped update gracefully, how can we apply the logic whereby we only merge certain semver version bumps, if that information is missing? Maybe I'm missing something |
|
You're right. I'm closing this PR and opening a new one proposing a new Thank you Simone. |
Feature Proposal
Dependabot seems to open a special kind of PR (npm_and_yarn group) which this action doesn't merge because of the lack of an explicit semver bump value:
"npm_and_yarn group" PR metadata example:
Motivation
The goal of this PR is recognise such PRs so that they can be merged automatically.
Extra information
I decided to detect by default npm_and_yarn group PRs using
dependency-groupmetadata prop.Another approach could consist of exposing an option to whitelist specific PRs by metadata. The API of such option should be carefully designed, though.
Happy to review the detection logic in case it's too loose.
Checklist
npm run testandnpm run benchmarkand the Code of conduct