From 2a043038f7eac23487ddb8cb1777826f2dc718f6 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Thu, 9 Nov 2023 11:03:14 +0100 Subject: [PATCH] ci: fix path matching for pr pipelines --- .github/workflows/pr_cockpit-web.yml | 2 +- .github/workflows/pr_cockpit.yml | 12 ++++++------ .github/workflows/pr_docs.yml | 2 +- .github/workflows/pr_stackablectl.yml | 12 ++++++------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pr_cockpit-web.yml b/.github/workflows/pr_cockpit-web.yml index e49bc1da..72809374 100644 --- a/.github/workflows/pr_cockpit-web.yml +++ b/.github/workflows/pr_cockpit-web.yml @@ -6,7 +6,7 @@ on: - ".github/workflows/pr_cockpit-web.yml" - "package.json" - "yarn.lock" - - "web" + - "web/**" jobs: build-web: diff --git a/.github/workflows/pr_cockpit.yml b/.github/workflows/pr_cockpit.yml index 8a753f6b..bf3bbad3 100644 --- a/.github/workflows/pr_cockpit.yml +++ b/.github/workflows/pr_cockpit.yml @@ -5,13 +5,13 @@ on: pull_request: paths: - ".github/workflows/pr_cockpit.yml" - - "rust/stackable-cockpitd" - - "rust/stackable-cockpit" - - "docs/modules/cockpit" - - "docs/modules/ROOT" + - "rust/stackable-cockpitd/**" + - "rust/stackable-cockpit/**" + - "docs/modules/cockpit/**" + - "docs/modules/ROOT/**" - "Cargo.lock" - - "deploy" - - "docker" + - "deploy/**" + - "docker/**" - "go.sum" env: diff --git a/.github/workflows/pr_docs.yml b/.github/workflows/pr_docs.yml index 411ec8f9..c32d3911 100644 --- a/.github/workflows/pr_docs.yml +++ b/.github/workflows/pr_docs.yml @@ -5,7 +5,7 @@ on: pull_request: paths: - ".github/workflows/pr_docs.yml" - - "docs" + - "docs/**" jobs: general-checks: diff --git a/.github/workflows/pr_stackablectl.yml b/.github/workflows/pr_stackablectl.yml index e9f7e63b..e2efb9f0 100644 --- a/.github/workflows/pr_stackablectl.yml +++ b/.github/workflows/pr_stackablectl.yml @@ -4,14 +4,14 @@ name: Pull Request Stackablectl on: pull_request: paths: - - ".github/workflows/pr_stackablectl" - - "docs/modules/stackablectl" - - "rust/stackable-cockpit" - - "rust/stackablectl" - - "rust/helm-sys" + - ".github/workflows/pr_stackablectl.yml" + - "docs/modules/stackablectl/**" + - "rust/stackable-cockpit/**" + - "rust/stackablectl/**" + - "rust/helm-sys/**" - "Cargo.lock" - "go.sum" - - "extra" + - "extra/**" env: RUST_VERSION: 1.70.0