From 22821ba2dadb7f6c4a75addcba24c2fb70445301 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 25 Sep 2019 09:22:26 -0700 Subject: GitHub CI: use paths rather than paths-ignore, use branch to exclude rc/. --- .github/workflows/ci.yml | 61 ++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 28 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d20f0ca5..8c0e817e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,35 +2,40 @@ name: CI tests on: push: - paths-ignore: - - 'doc/**' - - 'MANUAL.txt' - - '*.md' - - 'RELEASE_CHECKLIST' - - 'BUGS' - - 'changelog' - - 'README.template' - - 'appveyor.yml' - - 'tools/**' - - 'linux/**' - - 'macos/**' - - 'windows/**' - - 'man/**' + branches: + - '*' + - '!rc/*' + paths: + - '*' + - '!doc/**' + - '!MANUAL.txt' + - '!*.md' + - '!RELEASE_CHECKLIST' + - '!BUGS' + - '!changelog' + - '!README.template' + - '!appveyor.yml' + - '!tools/**' + - '!linux/**' + - '!macos/**' + - '!windows/**' + - '!man/**' pull_request: - paths_ignore: - - 'doc/**' - - 'MANUAL.txt' - - '*.md' - - 'RELEASE_CHECKLIST' - - 'BUGS' - - 'changelog' - - 'README.template' - - 'appveyor.yml' - - 'tools/**' - - 'linux/**' - - 'macos/**' - - 'windows/**' - - 'man/**' + paths: + - '*' + - '!doc/**' + - '!MANUAL.txt' + - '!*.md' + - '!RELEASE_CHECKLIST' + - '!BUGS' + - '!changelog' + - '!README.template' + - '!appveyor.yml' + - '!tools/**' + - '!linux/**' + - '!macos/**' + - '!windows/**' + - '!man/**' jobs: linux: -- cgit v1.2.3