Browse Source

feat: add cancel action

build/update-latest-deps
Thomas Osmonson 4 years ago
parent
commit
273fc7b9d2
  1. 4
      .github/workflows/deploy-prs.yml
  2. 4
      .github/workflows/main.yml

4
.github/workflows/deploy-prs.yml

@ -5,6 +5,10 @@ jobs:
vercel-deployment:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- uses: aulneau/vercel-action@v19.0.2+3
id: vercel_deployment_preview

4
.github/workflows/main.yml

@ -5,6 +5,10 @@ jobs:
code_quality:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.5.0
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
- name: Set Node Version

Loading…
Cancel
Save