Skip to content

Commit e2820a4

Browse files
authored
chore: CD on demand and mergify checks (#69)
Signed-off-by: Michele Dolfi <[email protected]>
1 parent 51273ae commit e2820a4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/mergify.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
merge_protections:
2+
- name: Enforce conventional commit
3+
description: Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
4+
if:
5+
- base = main
6+
success_conditions:
7+
- "title ~=
8+
^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\(.+\
9+
\\))?:"

.github/workflows/cd.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: "Run CD"
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
workflow_dispatch:
75

86
env:
97
# disable keyring (https://github.com/actions/runner-images/issues/6185):

0 commit comments

Comments
 (0)