Fix for commit sha being checked out #332
Workflow file for this run
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-ignore: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Lint Code Base | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter@v6 | |
env: | |
VALIDATE_ALL_CODEBASE: true | |
VALIDATE_NATURAL_LANGUAGE: false | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VALIDATE_DOCKERFILE_HADOLINT: false # Breaks CI by trying to validate things that aren't dockerfiles | |
VALIDATE_JSCPD: false | |
VALIDATE_CHECKOV: false | |
VALIDATE_SHELL_SHFMT: false |