Cancel concurrent CI workflow runs

This commit is contained in:
Pablo Zmdl
2025-10-02 13:31:37 +02:00
parent dec1d668ed
commit ad79485ae4
4 changed files with 16 additions and 0 deletions

View File

@@ -4,6 +4,10 @@ on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read

View File

@@ -9,6 +9,10 @@ on:
# Rebuild automatically each monday early morning.
- cron: "42 5 * * 1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_and_push:
if: github.repository == 'roundcube/roundcubemail'

View File

@@ -4,6 +4,10 @@ on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read

View File

@@ -3,6 +3,10 @@ name: Unit
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read