[CI] Linting optimisations (#940)
[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.
clems4ever/two-factor-auth-server,clems4ever/two-factor-auth-server