Skip to content

Commit

Permalink
add delete on cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed Mar 25, 2024
1 parent 3c9476a commit 166e434
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
bench:
runs-on: ubuntu-latest
permissions:
actions: write
pull-requests: write
timeout-minutes: 10
steps:
Expand Down Expand Up @@ -38,3 +39,8 @@ 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
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 166e434

Please sign in to comment.