From d8284d817ab9e06ba2c0add2da7e145236aa3b8b Mon Sep 17 00:00:00 2001 From: tjjfvi Date: Mon, 25 Mar 2024 10:31:43 -0400 Subject: [PATCH] add delete on cancel --- .github/workflows/bench.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 2e297941..cb9acdd3 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -38,3 +38,6 @@ jobs: run: gh pr comment ${{ github.event.number }} -F comment env: GH_TOKEN: ${{ github.token }} + - name: delete on cancel + if: ${{ cancelled() }} + run: gh api "repos/higherorderco/hmv-core/actions/runs/${{ github.run_id }}" -X DELETE