Skip to content

Commit ad59810

Browse files
committed
ci: only run when something is pushed to main branch
This prevent ci.yml workflow to be triggered when a tag is pushed
1 parent 1e7814e commit ad59810

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: CI
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
48

59
env:
610
CARGO_TERM_COLOR: always

0 commit comments

Comments
 (0)