We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b5c534 commit 73b8f1dCopy full SHA for 73b8f1d
.github/workflows/linter.yml
@@ -48,6 +48,13 @@ jobs:
48
DEFAULT_BRANCH: main
49
FILTER_REGEX_EXCLUDE: dist/**/*
50
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51
+ # Explicitly provide the base SHA so super-linter does not try to
52
+ # derive an unreachable ancestor commit like `<sha>~360` which has
53
+ # caused failures on shallow or young repositories.
54
+ # For pull_request events use the PR base; for push events fall back
55
+ # to the `before` SHA from the push payload.
56
+ GITHUB_BEFORE_SHA:
57
+ ${{ github.event.pull_request.base.sha || github.event.before }}
58
LINTER_RULES_PATH: .
59
VALIDATE_ALL_CODEBASE: true
60
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
0 commit comments