maxkomarychev / merge-pal-action

GitHub Action that automatically merges your pull request!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use GitHub Action inputs instead of separate yml file

AArnott opened this issue · comments

Why require that we check in a .mergepal.yml file when you can just as easily take those settings as action inputs?

That would prevent the need for the checkout action to run as part of the workflow as well, I think.

hey, there are few patterns of how this action can be applied: more fundamentally you can have tests performed within the GHA or mergeability rules can be affected by some other events: labeling pr, approving pr, finishing some tests in thirdparty CI.
in this instance you'd end up having multiple workflow files with duplicated settings. having dedicated file in the repo allows you to simply plugin in the action in various workflow while keep the config detached