From d3000ac9eb140e07cc3eaec9fe182cecd7466a61 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 28 Jun 2023 22:20:31 +0000 Subject: Running CI only when pushing on `main` and on pull request. --- .github/workflows/rust-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github') 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 -- cgit v1.2.3