Browse Source

GHA CI: cancel outdated in-progress workflow runs

This will only cancel outdated workflow runs on PR branches and won't affect other normal repo
branches.
PR #16511.
adaptive-webui-19844
Chocobo1 3 years ago committed by GitHub
parent
commit
2652c73a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/ci_file_health.yaml
  2. 5
      .github/workflows/ci_macos.yaml
  3. 5
      .github/workflows/ci_ubuntu.yaml
  4. 4
      .github/workflows/ci_webui.yaml
  5. 5
      .github/workflows/ci_windows.yaml

4
.github/workflows/ci_file_health.yaml

@ -2,6 +2,10 @@ name: CI - File health
on: [pull_request, push] on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs: jobs:
ci: ci:
name: Check name: Check

5
.github/workflows/ci_macos.yaml

@ -1,6 +1,11 @@
name: CI - macOS name: CI - macOS
on: [pull_request, push] on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs: jobs:
ci: ci:
name: Build name: Build

5
.github/workflows/ci_ubuntu.yaml

@ -1,6 +1,11 @@
name: CI - Ubuntu name: CI - Ubuntu
on: [pull_request, push] on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs: jobs:
ci: ci:
name: Build name: Build

4
.github/workflows/ci_webui.yaml

@ -2,6 +2,10 @@ name: CI - WebUI
on: [pull_request, push] on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs: jobs:
ci: ci:
name: Check name: Check

5
.github/workflows/ci_windows.yaml

@ -1,6 +1,11 @@
name: CI - Windows name: CI - Windows
on: [pull_request, push] on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs: jobs:
ci: ci:
name: Build name: Build

Loading…
Cancel
Save