Skip to content

Commit c6ec0cf

Browse files
committed
ci: only run semantic-release after stack-build
1 parent 4c957c8 commit c6ec0cf

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/conventional-commits.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
---
2-
name: Conventional commits
3-
2+
name: conventional-commits
43
on:
54
pull_request:
6-
branches:
7-
- main
5+
branches: [main]
86

97
jobs:
108
build:

.github/workflows/semantic-release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
name: Semantic release
2+
name: semantic-release
33
on:
4-
push:
5-
branches:
6-
- main
4+
workflow_run:
5+
workflows: [stack-build]
6+
types: [completed]
7+
branches: [main]
78

89
jobs:
910
build:

0 commit comments

Comments
 (0)