[CI] Linting optimisations (#940)
* [CI] Lint all builds except tagged commits to satisfy branch protection * [CI] Add automatic retries for linting failures This is to treat any issues with the reviewdog API server and occasional failures we are seeing.pull/868/head^2
parent
f8bd506326
commit
12100d21e2
|
@ -28,7 +28,9 @@ env:
|
||||||
steps:
|
steps:
|
||||||
- label: ":service_dog: Linting"
|
- label: ":service_dog: Linting"
|
||||||
command: "reviewdog -reporter=github-check"
|
command: "reviewdog -reporter=github-check"
|
||||||
if: build.branch !~ /^(master)|(v[0-9]+\.[0-9]+\.[0-9]+)$\$/ && build.env("CI_BYPASS") != "true"
|
retry:
|
||||||
|
automatic: true
|
||||||
|
if: build.branch !~ /^(v[0-9]+\.[0-9]+\.[0-9]+)$\$/
|
||||||
|
|
||||||
- label: ":hammer_and_wrench: Unit Test"
|
- label: ":hammer_and_wrench: Unit Test"
|
||||||
command: "authelia-scripts --log-level debug ci"
|
command: "authelia-scripts --log-level debug ci"
|
||||||
|
|
Loading…
Reference in New Issue