From 7428eb6e8bc307709e803763119731d81a77d1bc Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 16 Dec 2022 21:36:13 +0200 Subject: [PATCH] ci: don't run linux on push to non-master branches It's redundant with the pull request run. Signed-off-by: Ran Benita --- .github/workflows/linux.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6085b4f..be22915 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,6 +1,10 @@ name: linux -on: [push, pull_request] +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] # Set permissions at the job level. permissions: {}