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]