From 7125b336e463ccb8f054286dfdb0241c3f9a90d7 Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Sun, 19 Mar 2023 06:50:28 +0900 Subject: [PATCH] build: enable actionlint's warning from MegaLinter (#2234) * 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 --- .github/workflows/mega-linter.yaml | 5 +++-- .mega-linter.yaml | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mega-linter.yaml b/.github/workflows/mega-linter.yaml index 542bcb365b59..242a92425f9a 100644 --- a/.github/workflows/mega-linter.yaml +++ b/.github/workflows/mega-linter.yaml @@ -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 diff --git a/.mega-linter.yaml b/.mega-linter.yaml index 4235b513c9cd..3d600e1027b2 100644 --- a/.mega-linter.yaml +++ b/.mega-linter.yaml @@ -16,7 +16,6 @@ DISABLE_ERRORS_LINTERS: - REPOSITORY_TRIVY - REPOSITORY_CHECKOV - REPOSITORY_DEVSKIM - - ACTION_ACTIONLINT - BASH_SHELLCHECK - C_CPPLINT - CPP_CPPLINT