Skip to content

GitHub Actions plugin to cancel previous running pull_request jobs. Helps to save money on private repositories.

Notifications You must be signed in to change notification settings

avdeev-dima-tutu/cancel-previous-pull-request

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

name: Pull Request Cancel Example
on: [pull_request]

jobs:
  check-job:
    runs-on: ubuntu-latest
    steps:
      - run: sleep 10
      - run: sleep 10
      - run: sleep 10
      
      - uses: tutu-ru-mobile/cancel-previous-pull-request@tag1.0.0
        with:
          access_token: "${{ secrets.GITHUB_TOKEN }}"
          
      - run: sleep 10
      - run: sleep 10
      - run: sleep 10
        

Contributing

  • Run yarn install
  • Edit ./src/index.ts
  • Run yarn build
  • Commit changes including ./dist/index.js bundle

About

GitHub Actions plugin to cancel previous running pull_request jobs. Helps to save money on private repositories.

Resources

Stars

Watchers

Forks

Packages

No packages published