From a1fe46bf8be09b79fc82cf0008ce1c70d4a5e09c Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sun, 31 Dec 2023 23:04:45 +0300 Subject: [PATCH] update ci/cd --- .github/workflows/mega-linter.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index c34cee6..143f7db 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -41,11 +41,7 @@ jobs: uses: oxsecurity/megalinter@7e042c726c68415475b05a65a686c612120a1232 id: ml env: - VALIDATE_ALL_CODEBASE: >- - ${{ - github.event_name == 'push' && - contains(fromJSON('["refs/heads/main", "refs/heads/master"]'), github.ref) - }} + VALIDATE_ALL_CODEBASE: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Archive production artifacts