mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[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.
This commit is contained in:
parent
f8bd506326
commit
12100d21e2
|
@ -28,7 +28,9 @@ env:
|
|||
steps:
|
||||
- label: ":service_dog: Linting"
|
||||
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"
|
||||
command: "authelia-scripts --log-level debug ci"
|
||||
|
|
Loading…
Reference in New Issue
Block a user