diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml index d8e68d101..2a40238b2 100644 --- a/.github/workflows/desktop-e2e.yml +++ b/.github/workflows/desktop-e2e.yml @@ -1,7 +1,14 @@ name: desktop-e2e +# Only desktop changes, or changes to this workflow, run it. on: pull_request: + paths: + - "desktop/**" + - ".github/workflows/desktop-e2e.yml" push: + paths: + - "desktop/**" + - ".github/workflows/desktop-e2e.yml" workflow_dispatch: env: diff --git a/.github/workflows/desktop-lint.yml b/.github/workflows/desktop-lint.yml index 299fb413e..a88a917af 100644 --- a/.github/workflows/desktop-lint.yml +++ b/.github/workflows/desktop-lint.yml @@ -1,7 +1,14 @@ name: desktop-lint +# Only desktop changes, or changes to this workflow, run it. on: pull_request: + paths: + - "desktop/**" + - ".github/workflows/desktop-lint.yml" push: + paths: + - "desktop/**" + - ".github/workflows/desktop-lint.yml" workflow_dispatch: env: diff --git a/.github/workflows/desktop-unit-test.yml b/.github/workflows/desktop-unit-test.yml index 3a6d5d162..7f42becc3 100644 --- a/.github/workflows/desktop-unit-test.yml +++ b/.github/workflows/desktop-unit-test.yml @@ -1,7 +1,14 @@ name: desktop-unit-test +# Only desktop changes, or changes to this workflow, run it. on: pull_request: + paths: + - "desktop/**" + - ".github/workflows/desktop-unit-test.yml" push: + paths: + - "desktop/**" + - ".github/workflows/desktop-unit-test.yml" workflow_dispatch: env: diff --git a/.github/workflows/explorer-build.yml b/.github/workflows/explorer-build.yml index 24fcfe389..0f28e05bf 100644 --- a/.github/workflows/explorer-build.yml +++ b/.github/workflows/explorer-build.yml @@ -1,6 +1,17 @@ name: explorer-build +# Desktop and Rust-only changes don't affect the web app: its tests run +# against a pinned, pre-built radicle-httpd. on: push: + paths-ignore: + - "desktop/**" + - "crates/**" + - "Cargo.toml" + - "Cargo.lock" + - "rust-toolchain" + - ".cargo/**" + - ".github/workflows/desktop-*.yml" + - ".github/workflows/explorer-rust.yml" workflow_dispatch: env: diff --git a/.github/workflows/explorer-check.yml b/.github/workflows/explorer-check.yml index 573c77027..a0bd7605e 100644 --- a/.github/workflows/explorer-check.yml +++ b/.github/workflows/explorer-check.yml @@ -1,6 +1,17 @@ name: explorer-check +# Desktop and Rust-only changes don't affect the web app: its tests run +# against a pinned, pre-built radicle-httpd. on: push: + paths-ignore: + - "desktop/**" + - "crates/**" + - "Cargo.toml" + - "Cargo.lock" + - "rust-toolchain" + - ".cargo/**" + - ".github/workflows/desktop-*.yml" + - ".github/workflows/explorer-rust.yml" workflow_dispatch: env: diff --git a/.github/workflows/explorer-e2e.yml b/.github/workflows/explorer-e2e.yml index 46ae9b785..640022b22 100644 --- a/.github/workflows/explorer-e2e.yml +++ b/.github/workflows/explorer-e2e.yml @@ -1,6 +1,17 @@ name: explorer-e2e +# Desktop and Rust-only changes don't affect the web app: its tests run +# against a pinned, pre-built radicle-httpd. on: push: + paths-ignore: + - "desktop/**" + - "crates/**" + - "Cargo.toml" + - "Cargo.lock" + - "rust-toolchain" + - ".cargo/**" + - ".github/workflows/desktop-*.yml" + - ".github/workflows/explorer-rust.yml" workflow_dispatch: env: diff --git a/.github/workflows/explorer-http-client-unit-test.yml b/.github/workflows/explorer-http-client-unit-test.yml index 9ca88d6c9..dca3d9d7a 100644 --- a/.github/workflows/explorer-http-client-unit-test.yml +++ b/.github/workflows/explorer-http-client-unit-test.yml @@ -1,6 +1,17 @@ name: explorer-http-client-unit-test +# Desktop and Rust-only changes don't affect the web app: its tests run +# against a pinned, pre-built radicle-httpd. on: push: + paths-ignore: + - "desktop/**" + - "crates/**" + - "Cargo.toml" + - "Cargo.lock" + - "rust-toolchain" + - ".cargo/**" + - ".github/workflows/desktop-*.yml" + - ".github/workflows/explorer-rust.yml" workflow_dispatch: env: diff --git a/.github/workflows/explorer-rust.yml b/.github/workflows/explorer-rust.yml index bc1118694..4c76bf479 100644 --- a/.github/workflows/explorer-rust.yml +++ b/.github/workflows/explorer-rust.yml @@ -1,6 +1,14 @@ name: explorer-rust +# Only changes to the Rust workspace, or to this workflow, run it. on: push: + paths: + - "crates/**" + - "Cargo.toml" + - "Cargo.lock" + - "rust-toolchain" + - ".cargo/**" + - ".github/workflows/explorer-rust.yml" workflow_dispatch: env: diff --git a/.github/workflows/explorer-unit-test.yml b/.github/workflows/explorer-unit-test.yml index 007becc1a..3ecbd85e8 100644 --- a/.github/workflows/explorer-unit-test.yml +++ b/.github/workflows/explorer-unit-test.yml @@ -1,6 +1,17 @@ name: explorer-unit-test +# Desktop and Rust-only changes don't affect the web app: its tests run +# against a pinned, pre-built radicle-httpd. on: push: + paths-ignore: + - "desktop/**" + - "crates/**" + - "Cargo.toml" + - "Cargo.lock" + - "rust-toolchain" + - ".cargo/**" + - ".github/workflows/desktop-*.yml" + - ".github/workflows/explorer-rust.yml" workflow_dispatch: env: diff --git a/.github/workflows/explorer-visual.yml b/.github/workflows/explorer-visual.yml index 93ed8b237..8c212aaa9 100644 --- a/.github/workflows/explorer-visual.yml +++ b/.github/workflows/explorer-visual.yml @@ -1,6 +1,17 @@ name: explorer-visual +# Desktop and Rust-only changes don't affect the web app: its tests run +# against a pinned, pre-built radicle-httpd. on: push: + paths-ignore: + - "desktop/**" + - "crates/**" + - "Cargo.toml" + - "Cargo.lock" + - "rust-toolchain" + - ".cargo/**" + - ".github/workflows/desktop-*.yml" + - ".github/workflows/explorer-rust.yml" workflow_dispatch: env: