From e236aeeeb669c3097414a7cf7b8891d1ff3151d4 Mon Sep 17 00:00:00 2001 From: Johanna England Date: Mon, 23 Sep 2024 15:00:21 +0200 Subject: [PATCH] Only validate whole codebase on pushes to master Otherwise only changes in a PR will be checked --- .github/workflows/linter.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 4b40da7ba2..15f5d66101 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -31,8 +31,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Validate whole codebase on pushes and only changes on pull requests - # Change this to VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' }} - VALIDATE_ALL_CODEBASE: true + VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' }} # Upload MegaLinter artifacts - name: Archive production artifacts