diff --git a/.github/workflows/check-cabal-files.yml b/.github/workflows/check-cabal-files.yml index d9960257e04..2f812a505d2 100644 --- a/.github/workflows/check-cabal-files.yml +++ b/.github/workflows/check-cabal-files.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/check-git-dependencies.yml b/.github/workflows/check-git-dependencies.yml index 5c5f1e321a3..30bbdc4a6ea 100644 --- a/.github/workflows/check-git-dependencies.yml +++ b/.github/workflows/check-git-dependencies.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/check-hlint.yml b/.github/workflows/check-hlint.yml index 17c14768e20..9c17d3477fa 100644 --- a/.github/workflows/check-hlint.yml +++ b/.github/workflows/check-hlint.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/check-mainnet-config.yml b/.github/workflows/check-mainnet-config.yml index cb9ef0dee9a..a8f5f9bc567 100644 --- a/.github/workflows/check-mainnet-config.yml +++ b/.github/workflows/check-mainnet-config.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/check-nix-config.yml b/.github/workflows/check-nix-config.yml index b9f13168fff..ca29cc3c9c8 100644 --- a/.github/workflows/check-nix-config.yml +++ b/.github/workflows/check-nix-config.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/haskell-linux.yml b/.github/workflows/haskell-linux.yml index 1bfe1b88b68..ce4d56b5afa 100644 --- a/.github/workflows/haskell-linux.yml +++ b/.github/workflows/haskell-linux.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index fdec589a4ff..9af330dbdb3 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/markdown-links-ci-check.yml b/.github/workflows/markdown-links-ci-check.yml index 41587edfda0..52ef0c724b7 100644 --- a/.github/workflows/markdown-links-ci-check.yml +++ b/.github/workflows/markdown-links-ci-check.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: diff --git a/.github/workflows/stylish-haskell.yml b/.github/workflows/stylish-haskell.yml index 42a4eec6625..bb9491aaa94 100644 --- a/.github/workflows/stylish-haskell.yml +++ b/.github/workflows/stylish-haskell.yml @@ -6,7 +6,7 @@ on: # Limit concurrent runs of this workflow within a single PR concurrency: - group: ${{ github.workflow }}-${{ github.event.type }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.type }}-${{ startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && github.ref || github.event.pull_request.number || github.run_id }} cancel-in-progress: true jobs: