ci: убрать lint из needs deploy-job
Some checks failed
CI / Lint (pull_request) Failing after 1m8s
CI / Build (pull_request) Successful in 2m3s
CI / Secret scan (pull_request) Successful in 2m34s
CI / PR size check (pull_request) Successful in 7s
CI / Deploy to S1 + S2 (pull_request) Has been skipped

Deploy зависит от lint через needs:, поэтому при failure lint
(исторический долг empty-блоков) deploy вообще не запускается
(висит pending бесконечно).

Lint не в branch protection required-checks — он опциональный.
Deploy должен зависеть только от Build + Secret-scan.
This commit is contained in:
МИН 2026-05-29 07:23:27 +03:00
parent 825fd5a35a
commit 5284f8aa19

View File

@ -109,7 +109,7 @@ jobs:
deploy: deploy:
name: Deploy to S1 + S2 name: Deploy to S1 + S2
if: github.event_name == 'push' && github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: [lint, build, secret-scan] needs: [build, secret-scan]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3