From 0154da18fede14ac803b1ea97566c7fab7e8fc70 Mon Sep 17 00:00:00 2001 From: graham Date: Sun, 15 Mar 2026 18:48:18 -0500 Subject: [PATCH] remove: cancel-on-merge workflow (#38) The styfle/cancel-workflow-action is not compatible with Forgejo Actions, causing failures with 'Cannot read properties of undefined (reading id)'. The pr-tests.yaml workflow already has concurrency control that cancels in-progress runs when new commits are pushed, which handles most cases. Removing this workflow to eliminate CI errors. Reviewed-on: https://git.mcintire.me/graham/towerops-web/pulls/38 --- .forgejo/workflows/cancel-on-merge.yaml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .forgejo/workflows/cancel-on-merge.yaml diff --git a/.forgejo/workflows/cancel-on-merge.yaml b/.forgejo/workflows/cancel-on-merge.yaml deleted file mode 100644 index 16a07f6f..00000000 --- a/.forgejo/workflows/cancel-on-merge.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Cancel Tests on Merge - -on: - pull_request: - types: [closed] - branches: - - main - - production - -jobs: - cancel-tests: - name: Cancel Running Tests - runs-on: ubuntu-22.04 - if: github.event.pull_request.merged == true - steps: - - name: Cancel in-progress workflow runs - uses: https://github.com/styfle/cancel-workflow-action@0.12.1 - with: - workflow_id: pr-tests.yaml - access_token: ${{ github.token }}