Skip to content

Commit

Permalink
Update workflows to ignore paths on pull request (#3312)
Browse files Browse the repository at this point in the history
  • Loading branch information
riverar authored Oct 5, 2024
1 parent a0889a8 commit b2ffdc9
Show file tree
Hide file tree
Showing 24 changed files with 77 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: clippy

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: cross

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/debugger_visualizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: debugger_visualizer

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: docs

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: fmt

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: gen

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: lib

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: linux

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-bindgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-bindgen

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-core

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-metadata

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-registry

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-result

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-strings

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-sys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-sys

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows-version

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/msrv-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: windows

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/no-default-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: no-default-features

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/no_std.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: no_std

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/raw-dylib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: raw-dylib

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/slim_errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: slim_errors

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: test

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ concurrency:

on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down
9 changes: 9 additions & 0 deletions crates/tools/yml/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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/**'
Expand Down Expand Up @@ -122,6 +125,9 @@ fn clippy_yml() {
on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down Expand Up @@ -172,6 +178,9 @@ fn no_default_features_yml() {
on:
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'web/**'
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
Expand Down

0 comments on commit b2ffdc9

Please sign in to comment.