diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-25 09:22:26 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-25 09:22:26 -0700 |
commit | 22821ba2dadb7f6c4a75addcba24c2fb70445301 (patch) | |
tree | be640ff8ddd6f99f29294d8ccf66e5ce881c047d /.github/workflows/ci.yml | |
parent | 8028de33220af0a43ac8d14021b7fa2b98b22d64 (diff) | |
download | pandoc-22821ba2dadb7f6c4a75addcba24c2fb70445301.tar.gz |
GitHub CI: use paths rather than paths-ignore, use branch to exclude rc/.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 61 |
1 files changed, 33 insertions, 28 deletions
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: |