From 07a91d647081d0fd3ff409e3e09ca82c286b141d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sun, 15 Nov 2020 18:39:30 +0100 Subject: [PATCH] chore: Update validate.yml (#255) --- .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 e59d861..2c9e620 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: os: [ubuntu-latest, windows-latest]