Create superlinter.yaml #1
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
name: Lint Code Base | |
on: | |
push: | |
branches: [ "main", "dev" ] # Adjust the branches as needed | |
pull_request: | |
branches: [ "main", "dev" ] # Adjust the branches as needed | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run Super-Linter | |
uses: github/super-linter@v5 | |
env: | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_ALL_CODEBASE: true | |
VALIDATE_YAML: true | |
VALIDATE_JSON: true | |
VALIDATE_MARKDOWN: true | |
# Add other linters as needed |