diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 894804b0e..e3a223a24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,10 @@ on: schedule: - cron: "0 0 * * 0 " # weekly +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # Environment variables env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) diff --git a/.github/workflows/cell_lib_test.yml b/.github/workflows/cell_lib_test.yml index 3a472af3a..8ee9c47cc 100644 --- a/.github/workflows/cell_lib_test.yml +++ b/.github/workflows/cell_lib_test.yml @@ -7,6 +7,10 @@ on: schedule: - cron: "0 0 * * 0 " # weekly +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # Multiple job to tests jobs: # Test the RTL compilation compatibility diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index bfcfa8641..ef77be6ed 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,6 +7,10 @@ env: DOCKER_REPO: ${{ secrets.DOCKER_REPO }} REPO_OWNER: ${{ github.repository_owner }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: change_detect: name: "Detect code changes" diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index e4c84320e..fc119f7eb 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -7,6 +7,10 @@ on: schedule: - cron: "0 0 * * 0 " # weekly +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # Multiple job to tests jobs: change_detect: