Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

renovatebot/auto-cancel-actions

Repository files navigation

Build status

auto-cancel-actions

Github app to autocancel previous builds of GitHub workflows. This action is automatically deployed to Glitch.

Configuration

The configuration file is called auto-cancel-actions.yml and must be placed in the .github directory: .github/auto-cancel-actions.yml. At the top of this file you must specify that the version is 1.

branches are a list of micromatch expressions.

Example configurations

Don't cancel workflows on main branch (default config)

version: 1
push:
  branches:
    - '!main'
pull_request:

Cancel workflows on all branches and pull requests

version: 1
push:
pull_request:

Cancel only workflows on main or renovate/** branches

version: 1
push:
  branches:
    - main
    - 'renovate/**'

Deployment

For more information about deploying the bot, read the probot docs on deployment.

Configuration

For more information about configuring the bot, read the probot docs on configuration.

About

Github App to auto-cancel previous github actions

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5