diff --git a/.github/workflows/ansible-lint.yaml b/.github/workflows/ansible-lint.yaml index c67dfb9f50..adb3c9c5da 100644 --- a/.github/workflows/ansible-lint.yaml +++ b/.github/workflows/ansible-lint.yaml @@ -1,6 +1,13 @@ name: ansible-lint + on: [push, pull_request] +# Cancel in progress workflows on pull_requests. +# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: # In order to be able to have required checks, a workflow can't be entirely # skipped: see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks diff --git a/.github/workflows/backend-lint.yaml b/.github/workflows/backend-lint.yaml index f85642d80d..3de89d17c4 100644 --- a/.github/workflows/backend-lint.yaml +++ b/.github/workflows/backend-lint.yaml @@ -2,6 +2,12 @@ name: Backend Lint + Type Check on: [push, pull_request] +# Cancel in progress workflows on pull_requests. +# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: # In order to be able to have required checks, a workflow can't be entirely # skipped: see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks diff --git a/.github/workflows/frontend-lint-test-build.yaml b/.github/workflows/frontend-lint-test-build.yaml index 7ee1ae6830..28f0bc9e2e 100644 --- a/.github/workflows/frontend-lint-test-build.yaml +++ b/.github/workflows/frontend-lint-test-build.yaml @@ -2,6 +2,12 @@ name: Frontend on: pull_request +# Cancel in progress workflows on pull_requests. +# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: # In order to be able to have required checks, a workflow can't be entirely # skipped: see https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks diff --git a/.github/workflows/k3d-ci.yaml b/.github/workflows/k3d-ci.yaml index b3d3f6451a..4f0825f99a 100644 --- a/.github/workflows/k3d-ci.yaml +++ b/.github/workflows/k3d-ci.yaml @@ -2,6 +2,12 @@ name: Cluster Run (K3d) on: [push, pull_request] +# Cancel in progress workflows on pull_requests. +# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: ECHO_SERVER_HOST_URL: http://host.k3d.internal:18080