You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the feature has not already been requested
🚀 Feature Proposal
It would be nice if we could configure different rules for development and production dependencies. Something such as
- uses: fastify/github-action-merge-dependabot@v3with:
target:
production: patchdevelopment: any
Motivation
I tend to separate devDependencies (e.g. prettier, eslint, etc.) from dependencies. Same applies in ruby for instance.
I like to merge everything that doesn't impact production as soon as it becomes available; however I'm more careful regarding packages that can impact our production app... I don't have enough coverage to be 100% sure.
The feature request is valid, but the syntax you're proposing is not valid for action inputs, in fact the action you're referring to uses an external configuration file to achieve it.
What I propose is that we introduce two more specific inputs for the action, one called target-development and the other called target-production which, if provided, override the default value provided in the target input (if any).
Prerequisites
🚀 Feature Proposal
It would be nice if we could configure different rules for
development
andproduction
dependencies. Something such asMotivation
I tend to separate
devDependencies
(e.g.prettier
,eslint
, etc.) fromdependencies
. Same applies inruby
for instance.I like to merge everything that doesn't impact production as soon as it becomes available; however I'm more careful regarding packages that can impact our production app... I don't have enough coverage to be 100% sure.
Example
Here is the syntax from
ahmadnassri/action-dependabot-auto-merge
which is nice IMOThe text was updated successfully, but these errors were encountered: