Skip to content

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

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •