Merge pull request #296 from BretFisher/dependabot/npm_and_yarn/sampl… #489
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# template source: https://github.com/bretfisher/super-linter-workflow/blob/main/templates/call-super-linter.yaml | |
name: Lint Code Base | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
call-super-linter: | |
name: Call Super-Linter | |
permissions: | |
contents: read # clone the repo to lint | |
statuses: write #read/write to repo custom statuses | |
### use Reusable Workflows to call my workflow remotely | |
### https://docs.github.com/en/actions/learn-github-actions/reusing-workflows | |
### you can also call workflows from inside the same repo via file path | |
uses: bretfisher/super-linter-workflow/.github/workflows/reusable-super-linter.yaml@main | |
### Optional settings examples | |
with: | |
### For a DevOps-focused repository. Prevents some code-language linters from running | |
### defaults to false | |
devops-only: true | |
### A regex to exclude files from linting | |
### defaults to empty | |
filter-regex-exclude: .*assignment-apostrophe/.*,.*assignment-sweet-compose/result/.*,.*sample-result-orchestration/.*,.*assignment-mta/.*,.*sample-sails/.*,*test* |