From d7389568197b54914015b4e7009751116e58b954 Mon Sep 17 00:00:00 2001 From: Joshua Tang Date: Sat, 26 Aug 2023 11:44:44 +1000 Subject: [PATCH] ci: add concurrency setting to workflows --- .github/workflows/appainter-annotations.yml | 4 ++++ .github/workflows/appainter-builder.yml | 4 ++++ .github/workflows/example-app.yml | 4 ++++ .github/workflows/github-actions.yml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/.github/workflows/appainter-annotations.yml b/.github/workflows/appainter-annotations.yml index 96bb0bd87..1f221bc0d 100644 --- a/.github/workflows/appainter-annotations.yml +++ b/.github/workflows/appainter-annotations.yml @@ -10,6 +10,10 @@ defaults: run: working-directory: packages/annotations +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: name: Lint diff --git a/.github/workflows/appainter-builder.yml b/.github/workflows/appainter-builder.yml index fec55b69e..afe05d496 100644 --- a/.github/workflows/appainter-builder.yml +++ b/.github/workflows/appainter-builder.yml @@ -10,6 +10,10 @@ defaults: run: working-directory: packages/builder +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Test diff --git a/.github/workflows/example-app.yml b/.github/workflows/example-app.yml index 87e296d82..063d70555 100644 --- a/.github/workflows/example-app.yml +++ b/.github/workflows/example-app.yml @@ -10,6 +10,10 @@ defaults: run: working-directory: example +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Test diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 00b7b0eb7..55e9d5c6d 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Test