The GitHub Super-Linter project is a great way to lint all your file types with a single GitHub Actions Workflow. A great way to implement it is in all repos using a Workflow step that points to this Reusable Workflow.
Video Walkthrough of this repo
- All the features of Super-Linter in a Workflow
- Bonus: Added Job steps to correctly determine which branch to diff files with
- Bonus: Lints only changed files on a PR, but lints all files on merge to main (or any release) branch