ci: убрать lint из needs deploy-job (#5)
Co-authored-by: МИН <maksimivankov26@yandex.ru> Co-committed-by: МИН <maksimivankov26@yandex.ru>
This commit is contained in:
parent
f2938ee072
commit
90f5a53ad4
@ -106,7 +106,10 @@ 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]
|
# Lint НЕ в needs — он опциональный (исторический долг empty-блоков
|
||||||
|
# ещё не вычищен, см. branch protection без 'CI / Lint' в required).
|
||||||
|
# Deploy всё равно зависит от 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user