ci: set concurrency and trigger ci on master (#2701)

This commit is contained in:
gegoune 2024-03-14 07:36:22 +02:00 committed by GitHub
parent 3c4267eb50
commit c64becf80c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -3,7 +3,9 @@ on:
branches:
- master
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
name: release-please
permissions:
contents: write

View File

@ -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