Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Forked for security reasons to stop non-reviewed changes. ~~~~~~ Auto Cancellation allows you to only run builds for the latest commits in the queue. Reduce number of minutes usage of github action by killing all old actions running on the same branch and not finished.

License

Notifications You must be signed in to change notification settings

Airbase/gh-action-auto-cancellation-running-action

 
 

Repository files navigation

auto-cancellation-running-action

Auto Cancellation allows you to only run builds for the latest commits on a same branch. Reduce number of minutes usage of github action by killing all old actions running on the same branch and not finished.

Usage

You can create a .github/workflows/auto-cancellation.yml file:

name: auto cancellation running job
on: pull_request

jobs:
  cancel:
    name: auto-cancellation-running-action
    runs-on: ubuntu-latest
    steps:
      - uses: fauguste/[email protected]

This will trigger the action when a pull request is opened or updated.

Package

npm run package

License

Licensed under the MIT license.

About

Forked for security reasons to stop non-reviewed changes. ~~~~~~ Auto Cancellation allows you to only run builds for the latest commits in the queue. Reduce number of minutes usage of github action by killing all old actions running on the same branch and not finished.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%