Cancel running workflows when you add changes to the same branch
This commit is contained in:
parent
c25946ab8f
commit
500ca4b083
|
@ -36,6 +36,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- name: Remove broken apt repos [Ubuntu]
|
||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||
run: |
|
||||
|
|
|
@ -35,6 +35,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- name: Remove broken apt repos [Ubuntu]
|
||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||
run: |
|
||||
|
|
|
@ -37,6 +37,10 @@ jobs:
|
|||
name: Deployment
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- name: Remove broken apt repos [Ubuntu]
|
||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||
run: |
|
||||
|
|
|
@ -36,6 +36,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- name: Remove broken apt repos [Ubuntu]
|
||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||
run: |
|
||||
|
|
|
@ -36,6 +36,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- name: Remove broken apt repos [Ubuntu]
|
||||
if: ${{ matrix.os }} == 'ubuntu-latest'
|
||||
run: |
|
||||
|
|
|
@ -10,6 +10,10 @@ jobs:
|
|||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
|
|
Loading…
Reference in New Issue