summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorUbuntu <ubuntu@ip-172-31-41-161.ec2.internal>2023-06-28 22:20:31 +0000
committerUbuntu <ubuntu@ip-172-31-41-161.ec2.internal>2023-06-28 22:20:31 +0000
commitd3000ac9eb140e07cc3eaec9fe182cecd7466a61 (patch)
tree7e4d34365c7024b3083c5874700d33f24432cf8d /.github
parent0cfa21f26a88820fba91bb8ff02cf850eeeb97c3 (diff)
downloadcandle-d3000ac9eb140e07cc3eaec9fe182cecd7466a61.tar.gz
candle-d3000ac9eb140e07cc3eaec9fe182cecd7466a61.tar.bz2
candle-d3000ac9eb140e07cc3eaec9fe182cecd7466a61.zip
Running CI only when pushing on `main` and on pull request.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust-ci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml
index 5ac88a3e..27b62187 100644
--- a/.github/workflows/rust-ci.yml
+++ b/.github/workflows/rust-ci.yml
@@ -1,4 +1,8 @@
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - main
+ pull_request:
name: Continuous integration