diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a26a445..fc555df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,10 @@ name: CI on: push: - branches: - - main + branches: + - main + - next + - 'v*' paths-ignore: - 'docs/**' - '*.md' @@ -11,7 +13,12 @@ on: paths-ignore: - 'docs/**' - '*.md' - + +# This allows a subsequently queued workflow run to interrupt previous runs +concurrency: + group: "${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" + cancel-in-progress: true + permissions: contents: read