From 17b953cf5f051d7601d2c4969fec2a36ba2c5f68 Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Tue, 5 Nov 2024 12:40:29 +0200 Subject: [PATCH] Trigger github workflow on pushes and PRs for the 'main' branch --- .github/workflows/rust.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6aede83..74e6cfc 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,7 +1,13 @@ -on: [push] - name: Continuous integration +on: + push: + branches: + - main + pull_request: + branches: + - main + jobs: check: name: Check