From ee2cbb7fb941716d17c949494f7c3030494d4402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Sun, 15 Nov 2020 15:37:00 +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 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]