From 54eec159bdf2f61b5dd019e50ea3af6f808bd93b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Mon, 9 Nov 2020 22:59:18 +0100 Subject: [PATCH] chore: only run push jobs on releasable branches (#253) --- .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 ba29318..d1e822e 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: