Skip to content

Commit e6e47d0

Browse files
committed
CI: Cirrus CI - skip build on ignore-paths
Cirrus CI supports a `<job>.skip` key that skips the build if the expression evaluates to true. This adds the same list of on.pull_request.paths-ignore patterns from GitHub Actions workflows. This should save several minutes of CI times on PRs when the changes are only in the README/doc files.
1 parent b06c95b commit e6e47d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.cirrus.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ freebsd_task:
55
name: FREEBSD_DEBUG_NTS
66
freebsd_instance:
77
image_family: freebsd-13-2
8+
skip: "changesIncludeOnly('docs/**', 'NEWS', 'UPGRADING', 'UPGRADING.INTERNALS', '**/README.*', 'CONTRIBUTING.md', 'CODING_STANDARDS.md', '.travis.yml', 'travis/**', '.circleci/**')"
89
env:
910
ARCH: amd64
1011
install_script:

0 commit comments

Comments
 (0)