Skip to content

Commit

Permalink
ci: add path contraints for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
krichprollsch committed Nov 15, 2023
1 parent a671f6f commit ad25709
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/wpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ on:
paths:
- "src/**/*.zig"
- "src/*.zig"
- "test/wpt/**"
pull_request:
branches:
- main
paths:
- "src/**/*.zig"
- "src/*.zig"
- "test/wpt/**"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/zig-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches:
- main
paths:
- "src/**/*.zig"
- "src/*.zig"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/zig-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
pull_request:
branches:
- main
paths:
- "src/**/*.zig"
- "src/*.zig"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down

0 comments on commit ad25709

Please sign in to comment.