From f6a05e045fee966378c01bf1ebdeea4ba47c1501 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Wed, 25 Sep 2024 18:05:53 +0700 Subject: [PATCH] CI: Cirrus CI - skip build on ignore-paths (GH-13675) 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 CI Docs](https://cirrus-ci.org/guide/writing-tasks/#supported-functions) --- .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 87fc693e506..bcaef85b35f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -6,6 +6,7 @@ freebsd_task: timeout_in: 50m freebsd_instance: image_family: freebsd-13-3 + skip: "changesIncludeOnly('docs/**', 'NEWS', 'UPGRADING', 'UPGRADING.INTERNALS', '**/README.*', 'CONTRIBUTING.md', 'CODING_STANDARDS.md', '.circleci/**')" env: ARCH: amd64 install_script: