ci: Configure workflow concurrency

This commit is contained in:
Matt Borgerson
2026-01-14 02:53:02 -07:00
committed by mborgerson
parent 7ce933e174
commit 79d8e3ff45
6 changed files with 24 additions and 0 deletions
@@ -10,6 +10,10 @@ on:
- '.github/workflows/build-xemu-win64-toolchain.yml'
- 'ubuntu-win64-cross/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
REGISTRY: ghcr.io
@@ -5,6 +5,10 @@ on:
schedule:
- cron: '0 6 * * 1'
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
permissions:
contents: write
pull-requests: write
+4
View File
@@ -8,6 +8,10 @@ on:
tags-ignore:
- "v*"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
+4
View File
@@ -5,6 +5,10 @@ on:
branches:
- master
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
release:
name: Pre-release
@@ -3,6 +3,10 @@ name: Release (Dispatched)
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
tag:
name: Create release tag
+4
View File
@@ -4,6 +4,10 @@ on:
push:
tags: ['v*']
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
release:
name: Release