Skip to content

Commit

Permalink
build: enable actionlint's warning from MegaLinter (#2234)
Browse files Browse the repository at this point in the history
* ci: enable actionlint's warning from MegaLinter

* chore: temporarily set to check all codes by megalinter

* chore(ci): Fix invalid reference in workflow

---------

Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
Co-authored-by: Maximilian Roos <m@maxroos.com>
  • Loading branch information
3 people authored Mar 18, 2023
1 parent 37df4eb commit 7125b33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/mega-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ jobs:
env:
# All available variables are described in documentation
# https://megalinter.io/configuration/
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref
== 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
# VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref
# == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
VALIDATE_ALL_CODEBASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
# DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks
Expand Down
1 change: 0 additions & 1 deletion .mega-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ DISABLE_ERRORS_LINTERS:
- REPOSITORY_TRIVY
- REPOSITORY_CHECKOV
- REPOSITORY_DEVSKIM
- ACTION_ACTIONLINT
- BASH_SHELLCHECK
- C_CPPLINT
- CPP_CPPLINT
Expand Down

0 comments on commit 7125b33

Please sign in to comment.