Skip to content

Commit 7a84090

Browse files
authored
ci: Run megalinter over all files (#4532)
1 parent a2083eb commit 7a84090

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.github/workflows/lint-megalinter.yaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -62,24 +62,7 @@ jobs:
6262
# All available variables are described in documentation
6363
# https://megalinter.io/configuration/
6464
env:
65-
# Validates all source when push on main, else just the git diff with
66-
# main. Override with true if you always want to lint all sources
67-
#
68-
# To validate the entire codebase, set to:
69-
# VALIDATE_ALL_CODEBASE: true
70-
#
71-
# To validate only diff with main, set to:
72-
# VALIDATE_ALL_CODEBASE: >-
73-
# ${{
74-
# github.event_name == 'push' &&
75-
# contains(fromJSON('["refs/heads/main", "refs/heads/master"]'), github.ref)
76-
# }}
77-
VALIDATE_ALL_CODEBASE: >-
78-
${{
79-
github.event_name == 'push' &&
80-
contains(fromJSON('["refs/heads/main", "refs/heads/master"]'),
81-
github.ref) }}
82-
65+
VALIDATE_ALL_CODEBASE: true
8366
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8467

8568
# ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE

0 commit comments

Comments
 (0)