From 65191b657bed24385873ffc92ab39e8e5f458198 Mon Sep 17 00:00:00 2001 From: gegoune Date: Sun, 10 Mar 2024 09:18:09 +0200 Subject: [PATCH] ci: set concurrency and trigger ci on master --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/release-please.yml | 4 +++- .github/workflows/semantic-pr-subject.yml | 4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ba66eaecfe..54a61d28a37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,14 @@ name: CI on: pull_request: + push: + branches: [master] workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 93de5fb2bce..bd97e491925 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -3,7 +3,9 @@ on: branches: - master workflow_dispatch: - +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true name: release-please permissions: contents: write diff --git a/.github/workflows/semantic-pr-subject.yml b/.github/workflows/semantic-pr-subject.yml index 35c643e5833..f3f67d09a6f 100644 --- a/.github/workflows/semantic-pr-subject.yml +++ b/.github/workflows/semantic-pr-subject.yml @@ -7,7 +7,9 @@ on: - edited - synchronize workflow_dispatch: - +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true jobs: semantic-pr-subject: runs-on: ubuntu-latest