Commit 7bb39d4
committed
fix(ci): set DEFAULT_BRANCH to current branch for super-linter
Super-linter defaults to diffing against the 'master' branch, but the
shallow checkout (fetch-depth: 1) does not fetch master. This caused a
FATAL error: 'Neither master, nor origin/master exist in /github/workspace'.
Setting DEFAULT_BRANCH to the current branch name avoids the need for
master to be present in the shallow clone.1 parent 471d727 commit 7bb39d4
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments