Skip to content

Commit 7c88f91

Browse files
Heiko KieselWeltraumschaf
authored andcommitted
Only trigger ci when pushing on main branch
Signed-off-by: Heiko Kiesel <heiko.kiesel@iteratec.com>
1 parent b034a2f commit 7c88f91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77

88
name: Publish to Maven Central
99

10-
on: push
10+
on:
11+
push:
12+
branches:
13+
- 'main'
1114

1215
jobs:
1316
build:

0 commit comments

Comments
 (0)