fix(ci): split commit workflows and run no-merge-commits only on PRs

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
This commit is contained in:
Sandro-Alessio Gierens 2024-09-06 16:26:08 +02:00 committed by Christina Sørensen
parent 5957488638
commit 91f0106563

View file

@ -1,8 +1,6 @@
name: Commits
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
@ -11,13 +9,6 @@ concurrency:
cancel-in-progress: true
jobs:
conventional-commits:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: webiny/action-conventional-commits@v1.3.0
no-merge-commits:
name: No Merge Commits
runs-on: ubuntu-latest