From 0e8b0a8dd27f1b5071eb9141b20c01342750f515 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Wed, 12 Jun 2024 10:50:13 -0400 Subject: [PATCH] ci(triggers): add concurrency groups to prevent duplicate runs --- .github/workflows/main.yml | 3 +++ .github/workflows/pymake-gcc.yml | 3 +++ .github/workflows/pymake-linting-install.yml | 3 +++ .github/workflows/pymake-requests.yml | 3 +++ .github/workflows/pymake-rtd.yml | 3 +++ 5 files changed, 15 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 12a80f4..081b56b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,9 @@ on: paths-ignore: - 'README.md' - 'docs/*.md' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: pymakeCI-os-intel: diff --git a/.github/workflows/pymake-gcc.yml b/.github/workflows/pymake-gcc.yml index 206607f..d514ba7 100644 --- a/.github/workflows/pymake-gcc.yml +++ b/.github/workflows/pymake-gcc.yml @@ -14,6 +14,9 @@ on: paths-ignore: - 'README.md' - 'docs/*.md' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: pymakeCI-os-gcc: diff --git a/.github/workflows/pymake-linting-install.yml b/.github/workflows/pymake-linting-install.yml index feafe89..589551c 100644 --- a/.github/workflows/pymake-linting-install.yml +++ b/.github/workflows/pymake-linting-install.yml @@ -8,6 +8,9 @@ on: branches: - master - develop +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: diff --git a/.github/workflows/pymake-requests.yml b/.github/workflows/pymake-requests.yml index e1bdc1c..514d0e1 100644 --- a/.github/workflows/pymake-requests.yml +++ b/.github/workflows/pymake-requests.yml @@ -14,6 +14,9 @@ on: paths-ignore: - 'README.md' - 'docs/*.md' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: pymakeCI-requests: diff --git a/.github/workflows/pymake-rtd.yml b/.github/workflows/pymake-rtd.yml index 65907cc..8d8e1a9 100644 --- a/.github/workflows/pymake-rtd.yml +++ b/.github/workflows/pymake-rtd.yml @@ -8,6 +8,9 @@ on: branches: - master - develop +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: pymake_rtd: