Skip to content

Commit

Permalink
Only validate whole codebase on pushes to master
Browse files Browse the repository at this point in the history
Otherwise only changes in a PR will be checked
  • Loading branch information
johannaengland committed Sep 23, 2024
1 parent 97a8701 commit 717f802
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 717f802

Please sign in to comment.