From 5284f8aa19478753453d1ed853e46c11bd2643ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=98=D0=9D?= Date: Fri, 29 May 2026 07:23:27 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20=D1=83=D0=B1=D1=80=D0=B0=D1=82=D1=8C=20li?= =?UTF-8?q?nt=20=D0=B8=D0=B7=20needs=20deploy-job?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deploy зависит от lint через needs:, поэтому при failure lint (исторический долг empty-блоков) deploy вообще не запускается (висит pending бесконечно). Lint не в branch protection required-checks — он опциональный. Deploy должен зависеть только от Build + Secret-scan. --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 58c5e58..22a895b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -109,7 +109,7 @@ jobs: deploy: name: Deploy to S1 + S2 if: github.event_name == 'push' && github.ref == 'refs/heads/main' - needs: [lint, build, secret-scan] + needs: [build, secret-scan] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 -- 2.47.2