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
- Run
yarn install
- Edit
./src/index.ts
- Run
yarn build
- Commit changes including
./dist/index.js
bundle