ahmadnassri / action-dependabot-auto-merge

Automatically merge Dependabot PRs when version comparison is within range
MIT License
342 stars 48 forks source link

Please add an option to distinguish between production, dev dependencies and security fixes #7

Closed AlCalzone closed 4 years ago

AlCalzone commented 4 years ago

I'm looking for a way to replace the missing auto-merge functionality from dependabot, so your project is a godsend. However its missing a crucial feature for me. In the old dependabot I could configure production and dev dependencies differently. I had it configured the following way:

It would be great if you could add this feature :)

AlCalzone commented 4 years ago

The kind of dependencies should also be detectable by the PR header, although I'm not sure if this is because I'm using conventional-commits: grafik and the security label grafik

ahmadnassri commented 4 years ago

I use conventional commits to wherever I can ... however I do believe the "form x to y" section is the same no matter what ... that said, dependabot docs are a bit disorganized after the acquisition by github and I can't find a good reference ...

that said ...

I do like the idea of adding granular configuration for this, however, it's not currently a priority for me, so I might not get around to it this week ... in the meantime, PRs are welcome!

couple of quick thoughts:

would be great to see a PR to assist in this setup!

thanks

AlCalzone commented 4 years ago

would be great to see a PR to assist in this setup!

I can give it a shot. The original syntax seems to make sense IMO. Do you know how to read a file from the repo from inside the action? I haven't worked with docker actions yet.

ahmadnassri commented 4 years ago

this is the section in the docs for accessing the filesystem path: https://docs.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners#filesystems-on-github-hosted-runners

AlCalzone commented 4 years ago

PR is up at #10 :)

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 2.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: