fixed for test #5
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
--- | |
### Super Linter | |
name: Linting Code Base using Super Linter | |
on: | |
push: | |
# branches: [main] | |
pull_request: | |
# branches: [main] | |
jobs: | |
build: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
# Checkout whole repo for Lint | |
fetch-depth: 0 | |
- name: Lint Whole Repository | |
# Slim do not have rust, pwsh, c#, armttk , dotenv, rust linters and its bit fast | |
uses: super-linter/super-linter/[email protected] | |
env: | |
# ALL_codebase parse the entire repository and find all files to validate across all types. NOTE: When set to false, only new or edited files will be parsed for validation. | |
# DEFAULT_BRANCH: [ "main", "Feat/Linter", "Test/Linter", "Normturtle-details", "Third-Branch" ] | |
VALIDATE_ALL_CODEBASE: true | |
VALIDATE_MARKDOWN: false | |
VALIDATE_NATURAL_LANGUAGE: false # disable linting Text/Markdown | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |