Skip to content

Commit f6a05e0

Browse files
authored
CI: Cirrus CI - skip build on ignore-paths (GH-13675)
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. [Cirrus CI Docs](https://cirrus-ci.org/guide/writing-tasks/#supported-functions)
1 parent 3566421 commit f6a05e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.cirrus.yml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ freebsd_task:
66
timeout_in: 50m
77
freebsd_instance:
88
image_family: freebsd-13-3
9+
skip: "changesIncludeOnly('docs/**', 'NEWS', 'UPGRADING', 'UPGRADING.INTERNALS', '**/README.*', 'CONTRIBUTING.md', 'CODING_STANDARDS.md', '.circleci/**')"
910
env:
1011
ARCH: amd64
1112
install_script:

0 commit comments

Comments
 (0)