From fae595fd95007321934383b1127ecaea5ddb3d6b Mon Sep 17 00:00:00 2001 From: talregev Date: Fri, 4 Aug 2023 10:07:40 +0300 Subject: [PATCH] Add non concurrency to all workflows (#3337) --- .github/workflows/conda-forge.yml | 6 ++++++ .github/workflows/linux.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/conda-forge.yml b/.github/workflows/conda-forge.yml index abca930644..8a985dedc0 100644 --- a/.github/workflows/conda-forge.yml +++ b/.github/workflows/conda-forge.yml @@ -10,6 +10,12 @@ on: # Execute a "nightly" build at 2 AM UTC - cron: '0 2 * * *' +# Every time you make a push to your PR, it cancel immediately the previous checks, +# and start a new one. The other runner will be available more quickly to your PR. +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: '[${{ matrix.os }}@${{ matrix.build_type }}@conda]' diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b27f46eb76..5be8134cea 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -5,6 +5,12 @@ on: pull_request: branches: [ gazebo11 ] +# Every time you make a push to your PR, it cancel immediately the previous checks, +# and start a new one. The other runner will be available more quickly to your PR. +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: linux-build