gha-cancel-workflow-runs-on-pr-close
ActionsGitHub Action to cancel workflow runs when a pull request is closed
v1
LatestBy Mergifyio
Verified creator
Tags
(2)Verified
GitHub Action to cancel workflow runs when a pull request is closed.
name: Cancel workflows on PR close
on:
pull_request:
types: [closed]
permissions:
actions: write
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- name: Cancel related runs
uses: Mergifyio/gha-cancel-workflow-runs-on-pr-close@v1gha-cancel-workflow-runs-on-pr-close is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.