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: on:
pull_request: pull_request:
push:
branches: [master]
workflow_dispatch: workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View File

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

View File

@ -7,7 +7,9 @@ on:
- edited - edited
- synchronize - synchronize
workflow_dispatch: workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs: jobs:
semantic-pr-subject: semantic-pr-subject:
runs-on: ubuntu-latest runs-on: ubuntu-latest