Skip to content

Commit

Permalink
ci: only run when something is pushed to main branch
Browse files Browse the repository at this point in the history
This prevent ci.yml workflow to be triggered when a tag is pushed
  • Loading branch information
devmatteini committed Dec 24, 2021
1 parent 1e7814e commit ad59810
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: [ push, pull_request ]
on:
push:
branches:
- main
pull_request:

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit ad59810

Please # to comment.