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