Open eivindjahren opened 2 years ago
Totally agree with you @eivindjahren ! And thanks a lot for your code :)
Oops, sorry, keep forgetting to reply to you :(
I would appreciate a PR that adds documentation about these kind of things. Just in the README as far as I am concerned, under a new topic like Advanced use-case
or something. If you wouldn't mind, I would appreciate that!
I am not going to integrate support for it, as I strongly believe an action should do one thing, and one thing well. Covering all use-cases is impossible, and exactly the chain of actions you do is what you want :) So if it is flake8 related, it can go in this action, but if it is git related, it shouldn't :)
It is possible to run the action on only those files that have changes in the PR via:
It would be nice if this was supported directly (although, just documenting would be good also). Also it would be nice if warnings could be shown only for changed files while errors are shown for all files. One simple way of doing so is to run flake8 twice, a much more difficult way of getting this done is to skip the changed files in the regex.