From 20e64a43635c4508e8c58baa416af0654af8a631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sun, 15 Nov 2020 15:37:17 +0100 Subject: [PATCH] Update validate.yml --- .github/workflows/validate.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index e50939f..c9c9eb9 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -2,19 +2,18 @@ name: validate on: push: branches: - [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'next', - 'next-major', - 'beta', - 'alpha', - '!all-contributors/**', - ] - pull_request: - branches-ignore: ['all-contributors/**'] + - '+([0-9])?(.{+([0-9]),x}).x' + - 'master' + - 'next' + - 'next-major' + - 'beta' + - 'alpha' + - '!all-contributors/**' + pull_request: {} jobs: main: + # ignore all-contributors PRs + if: ${{ !contains(github.head_ref, 'all-contributors') }} strategy: matrix: node: [10.18, 10, 12, 14, 15]