Skip to content

gha-cancel-workflow-runs-on-pr-close

Actions
GitHub Action to cancel workflow runs when a pull request is closed
v1
Latest
Verified creator
Star (1)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

gha-cancel-workflow-runs-on-pr-close

GitHub Action to cancel workflow runs when a pull request is closed.

Usage

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@v1

gha-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.

About

GitHub Action to cancel workflow runs when a pull request is closed
v1
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

gha-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.