From 7198a7e2d1878b86f716b2d76922609a91fd6f4f Mon Sep 17 00:00:00 2001 From: Xiao-Yong Jin Date: Tue, 3 Jan 2023 17:27:27 -0600 Subject: [PATCH] github/workflows: run ci test only on push_request or push to devel or main --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 531fd327..1000edb4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,10 @@ name: test -on: [push, pull_request] +on: + pull_request: + push: + branches: + - 'devel' + - 'master' jobs: build: