From 6aeecbc35663b4d09b1983e87951da0bcc9389b5 Mon Sep 17 00:00:00 2001 From: Rafael Rivera Date: Sat, 5 Oct 2024 10:39:30 -0700 Subject: [PATCH] Update workflows to ignore paths on pull request --- .github/workflows/clippy.yml | 3 +++ .github/workflows/cross.yml | 3 +++ .github/workflows/debugger_visualizer.yml | 3 +++ .github/workflows/doc.yml | 3 +++ .github/workflows/fmt.yml | 3 +++ .github/workflows/gen.yml | 3 +++ .github/workflows/lib.yml | 3 +++ .github/workflows/linux.yml | 3 +++ .github/workflows/msrv-windows-bindgen.yml | 3 +++ .github/workflows/msrv-windows-core.yml | 3 +++ .github/workflows/msrv-windows-metadata.yml | 3 +++ .github/workflows/msrv-windows-registry.yml | 3 +++ .github/workflows/msrv-windows-result.yml | 3 +++ .github/workflows/msrv-windows-strings.yml | 3 +++ .github/workflows/msrv-windows-sys.yml | 3 +++ .github/workflows/msrv-windows-version.yml | 3 +++ .github/workflows/msrv-windows.yml | 3 +++ .github/workflows/no-default-features.yml | 3 +++ .github/workflows/no_std.yml | 3 +++ .github/workflows/raw-dylib.yml | 3 +++ .github/workflows/slim_errors.yml | 3 +++ .github/workflows/test.yml | 3 +++ .github/workflows/web.yml | 2 ++ crates/tools/yml/src/main.rs | 9 +++++++++ 24 files changed, 77 insertions(+) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 4201815631..81b831340b 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -2,6 +2,9 @@ name: clippy on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index b064438789..d7626fdae4 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -2,6 +2,9 @@ name: cross on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/debugger_visualizer.yml b/.github/workflows/debugger_visualizer.yml index fa234beeb7..582e54465a 100644 --- a/.github/workflows/debugger_visualizer.yml +++ b/.github/workflows/debugger_visualizer.yml @@ -2,6 +2,9 @@ name: debugger_visualizer on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 181aac2eb6..8f215ee690 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -2,6 +2,9 @@ name: docs on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index 7e79ecb551..ae1c79a2ec 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -2,6 +2,9 @@ name: fmt on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/gen.yml b/.github/workflows/gen.yml index acba5b61be..212a44b393 100644 --- a/.github/workflows/gen.yml +++ b/.github/workflows/gen.yml @@ -2,6 +2,9 @@ name: gen on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/lib.yml b/.github/workflows/lib.yml index b30380bf86..b013781fd7 100644 --- a/.github/workflows/lib.yml +++ b/.github/workflows/lib.yml @@ -2,6 +2,9 @@ name: lib on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index dbc3bd86fe..ae72829eac 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -2,6 +2,9 @@ name: linux on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-bindgen.yml b/.github/workflows/msrv-windows-bindgen.yml index 6aad93af02..3c564edd89 100644 --- a/.github/workflows/msrv-windows-bindgen.yml +++ b/.github/workflows/msrv-windows-bindgen.yml @@ -2,6 +2,9 @@ name: windows-bindgen on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-core.yml b/.github/workflows/msrv-windows-core.yml index f38b92b1b9..9333aff922 100644 --- a/.github/workflows/msrv-windows-core.yml +++ b/.github/workflows/msrv-windows-core.yml @@ -2,6 +2,9 @@ name: windows-core on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-metadata.yml b/.github/workflows/msrv-windows-metadata.yml index 9b29b3efc8..95a2ab075c 100644 --- a/.github/workflows/msrv-windows-metadata.yml +++ b/.github/workflows/msrv-windows-metadata.yml @@ -2,6 +2,9 @@ name: windows-metadata on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-registry.yml b/.github/workflows/msrv-windows-registry.yml index f4d28c089e..8948bc26ac 100644 --- a/.github/workflows/msrv-windows-registry.yml +++ b/.github/workflows/msrv-windows-registry.yml @@ -2,6 +2,9 @@ name: windows-registry on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-result.yml b/.github/workflows/msrv-windows-result.yml index 635f265b09..018e86bfd1 100644 --- a/.github/workflows/msrv-windows-result.yml +++ b/.github/workflows/msrv-windows-result.yml @@ -2,6 +2,9 @@ name: windows-result on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-strings.yml b/.github/workflows/msrv-windows-strings.yml index 51bca87df4..6de719f2c1 100644 --- a/.github/workflows/msrv-windows-strings.yml +++ b/.github/workflows/msrv-windows-strings.yml @@ -2,6 +2,9 @@ name: windows-strings on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-sys.yml b/.github/workflows/msrv-windows-sys.yml index 66d441c32e..7d79fd1bb5 100644 --- a/.github/workflows/msrv-windows-sys.yml +++ b/.github/workflows/msrv-windows-sys.yml @@ -2,6 +2,9 @@ name: windows-sys on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows-version.yml b/.github/workflows/msrv-windows-version.yml index e6fc702f60..9d1eebeb9f 100644 --- a/.github/workflows/msrv-windows-version.yml +++ b/.github/workflows/msrv-windows-version.yml @@ -2,6 +2,9 @@ name: windows-version on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/msrv-windows.yml b/.github/workflows/msrv-windows.yml index 477cbec86d..27495a90ee 100644 --- a/.github/workflows/msrv-windows.yml +++ b/.github/workflows/msrv-windows.yml @@ -2,6 +2,9 @@ name: windows on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/no-default-features.yml b/.github/workflows/no-default-features.yml index 9986d03f4a..1234e6d4b2 100644 --- a/.github/workflows/no-default-features.yml +++ b/.github/workflows/no-default-features.yml @@ -2,6 +2,9 @@ name: no-default-features on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/no_std.yml b/.github/workflows/no_std.yml index 9ecf0373a8..f8a5ddc813 100644 --- a/.github/workflows/no_std.yml +++ b/.github/workflows/no_std.yml @@ -2,6 +2,9 @@ name: no_std on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/raw-dylib.yml b/.github/workflows/raw-dylib.yml index 6478fdfce2..0561bb2b2f 100644 --- a/.github/workflows/raw-dylib.yml +++ b/.github/workflows/raw-dylib.yml @@ -2,6 +2,9 @@ name: raw-dylib on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/slim_errors.yml b/.github/workflows/slim_errors.yml index af24a9cb6a..8191bbf3a7 100644 --- a/.github/workflows/slim_errors.yml +++ b/.github/workflows/slim_errors.yml @@ -2,6 +2,9 @@ name: slim_errors on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65c4d21486..4b5ae72658 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,9 @@ name: test on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 8fb7fd8a18..073687da4e 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -11,6 +11,8 @@ concurrency: on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' diff --git a/crates/tools/yml/src/main.rs b/crates/tools/yml/src/main.rs index 069199fa5f..2e238bed43 100644 --- a/crates/tools/yml/src/main.rs +++ b/crates/tools/yml/src/main.rs @@ -13,6 +13,9 @@ fn test_yml(name: &str, raw_dylib: bool) { on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' @@ -122,6 +125,9 @@ fn clippy_yml() { on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**' @@ -172,6 +178,9 @@ fn no_default_features_yml() { on: pull_request: + paths-ignore: + - '.github/ISSUE_TEMPLATE/**' + - 'web/**' push: paths-ignore: - '.github/ISSUE_TEMPLATE/**'