From 738fa51daa4cd916d56017442eb57cbd1b302401 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Mon, 11 Mar 2024 22:05:54 +0700 Subject: [PATCH] CI: Cirrus CI - skip build on ignore-paths Cirrus CI supports a `.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.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 55632482a71fc..ada9d9b6be8ff 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -5,6 +5,7 @@ freebsd_task: name: FREEBSD_DEBUG_NTS freebsd_instance: image_family: freebsd-13-2 + skip: "changesIncludeOnly('docs/**', 'NEWS', 'UPGRADING', 'UPGRADING.INTERNALS', '**/README.*', 'CONTRIBUTING.md', 'CODING_STANDARDS.md', '.travis.yml', 'travis/**', '.circleci/**')" env: ARCH: amd64 install_script: