ci: bump github/super-linter from 6 to 7 #248
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: | |
pull_request: | |
branches: [ '*' ] | |
permissions: read-all | |
jobs: | |
test-lint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
steps: | |
- name: checkout source | |
uses: actions/checkout@v4 | |
with: | |
# super-linter needs the full git history to get the | |
# list of files that changed across commits | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter@v7 | |
env: | |
LINTER_RULES_PATH: extras | |
# disabling go test as its auto generated code | |
VALIDATE_GO: false | |
# disabling linting process of the natural language | |
VALIDATE_NATURAL_LANGUAGE: false | |
MARKDOWN_CONFIG_FILE: .markdownlint.json | |
# To report GitHub Actions status checks | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |