bad-commit-message-blocker icon indicating copy to clipboard operation
bad-commit-message-blocker copied to clipboard

Convert the docker-based GHA into a composite action

Open webknjaz opened this issue 3 years ago • 2 comments

I think it would be reasonable to refactor the GHA to use a better action type. Docker is limited to Ubuntu workers and has a certain amount of runtime overhead that I believe can be addressed with Composite GitHub Actions. I've promptly checked the current setup and I don't believe there's anything that is tightly coupled with the docker runtime and can't be substituted.

Ref: https://docs.github.com/en/actions/creating-actions/creating-a-composite-action

webknjaz avatar Dec 13 '21 20:12 webknjaz

I also think it'd work and would improve the run times. Feel free to submit a PR! :+1:

platisd avatar Dec 13 '21 21:12 platisd

Here's an example of using gitlint instead of this action: https://github.com/cherrypy/cheroot/pull/579/files. Maybe somebody interested in this will get some inspiration from that patch. I'm moving away from using this action for now.

webknjaz avatar Nov 21 '22 19:11 webknjaz