From 32a4471b5c385642f604e2dff374383905a4a1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Mon, 9 Nov 2020 22:59:21 +0100 Subject: [PATCH] chore: only run push jobs on releasable branches (#171) --- .github/workflows/validate.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index b5ff5de9..ebd34f63 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -1,5 +1,16 @@ name: validate -on: [push, pull_request] +on: + push: + branches: + [ + "+([0-9])?(.{+([0-9]),x}).x", + "master", + "next", + "next-major", + "beta", + "alpha", + ] + pull_request: {} jobs: main: strategy: