814 B
814 B
Super Linter Reusable Worklow Example
The GitHub (Super-Linter)[https://github.com/marketplace/actions/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: https://youtu.be/aXZgQM8DqXg
Features of this Super-Linter example
- 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