Use native concurrency to cancel workflows

This commit is contained in:
arkon 2022-10-01 23:14:03 -04:00
parent 8db62cf9a7
commit a041187b44

View File

@ -5,16 +5,14 @@ on:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.10.0
with:
access_token: ${{ github.token }}
all_but_latest: true
- name: Checkout repository
uses: actions/checkout@v3
with: