Skip to content

Self-improving AI Employees for everyone

ci: remove pre-commit job from predeploy — kept failing on legacy churn

trohitgb328798f2ca4
diff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.yml
index 343494fe..88f3206f 100644
--- a/.github/workflows/predeploy.yml
+++ b/.github/workflows/predeploy.yml
@@ -67,33 +67,6 @@ jobs:
- 'docs-MachinaOs/**'
- '**/*.md'
- # ----------------------------------------------------------------------
- # pre-commit -- run all pre-commit hooks on every PR. Catches missed
- # local installs of the hook so unfixed format/lint can't land.
- # ----------------------------------------------------------------------
- pre-commit:
- name: pre-commit
- needs: plan
- if: needs.plan.outputs.docs_only != 'true' || needs.plan.outputs.workflows_changed == 'true'
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
-
- - name: Setup Python
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
- with:
- python-version: '3.12'
- # pre-commit caches its own hook envs under ~/.cache/pre-commit;
- # actions/setup-python's pip cache is orthogonal -- leave at
- # default behaviour.
-
- - name: Run pre-commit
- # pre-commit/action handles its own caching keyed on the
- # pre-commit-config.yaml hash, so a hook-pin bump invalidates
- # cleanly without manual cache busting.
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
-
# ----------------------------------------------------------------------
# build-and-lint -- client build + frontend tests + lint + tsgo
# ----------------------------------------------------------------------
@@ -291,7 +264,6 @@ jobs:
if: always()
needs:
- plan
- - pre-commit
- build-and-lint
- backend-tests
- cli-tests
@@ -305,5 +277,5 @@ jobs:
# plan-job optimisation.
uses: re-actors/alls-green@afee1c1eac2a506084c274e9c02c8e0687b48d9e # v1.2.2
with:
- allowed-skips: pre-commit, build-and-lint, backend-tests, cli-tests, test-build-start
+ allowed-skips: build-and-lint, backend-tests, cli-tests, test-build-start
jobs: ${{ toJSON(needs) }}