From 5783361e65aec13e1da898a74cb715d28d07a4f3 Mon Sep 17 00:00:00 2001 From: Marko Vejnovic Date: Fri, 12 Jun 2026 00:15:53 +0000 Subject: [PATCH] ci: drop redundant `hm run ci` GitHub Actions job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GitHub App webhook already runs the `ci` pipeline in Harmont Cloud on every push/PR (the `harmont/harmont-dev-harmont-cli-ci` check). The GHA `hm run ci` job ran that same pipeline a second time — and since `.hm/config.toml` sets `backend = "cloud"`, it required an `HM_API_TOKEN` the workflow never supplied (`actions-hm`'s `token` input is only the GitHub token for the ghcr image cache). So it failed at auth in ~30s on every PR, running zero pipeline steps. `ci.yml` contained nothing but that one job, so remove the workflow entirely. CI continues to run via the webhook-driven cloud build. --- .github/workflows/ci.yml | 51 ---------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 7eb9bbde..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: CI - -on: - workflow_dispatch: - pull_request: - push: - branches: [main] - -permissions: - contents: read - -env: - CARGO_TERM_COLOR: always - -jobs: - ci: - name: hm run ci - runs-on: ubuntu-latest - timeout-minutes: 45 - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v4 - - - uses: dtolnay/rust-toolchain@stable - - - uses: Swatinem/rust-cache@v2 - - - uses: actions/setup-node@v4 - with: - node-version: "23" - cache: npm - cache-dependency-path: crates/hm-dsl-engine/harmont-ts/package-lock.json - - - name: Install esbuild (for harmont-ts bundle) - working-directory: crates/hm-dsl-engine/harmont-ts - run: npm ci - - - name: Build hm - run: cargo build -p harmont-cli - - - name: Enable FUSE allow_other - run: sudo sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf - - - name: Run harmont pipeline - uses: harmont-dev/actions-hm@main - with: - pipeline: ci - hm-path: ./target/debug/hm - cache: 'false'