summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
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