Skip to content

Commit

Permalink
Restrict PR validation to specific paths (#8)
Browse files Browse the repository at this point in the history
* Restrict PR validation to specific paths

* Expand PR Validation path restriction to pull requests

* Include PR Validation workflow file in PR Validation paths

---------

Co-authored-by: Matej Almasi <¨[email protected]¨>
  • Loading branch information
matej-almasi and Matej Almasi authored Dec 10, 2024
1 parent 0859f4f commit ce76857
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pr-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@ on:
pull_request:
branches:
- main
paths:
- "src"
- "Cargo*"
- ".cargo"
- ".github/workflows/pr-main.yml"
- "rustfmt.toml"
push:
branches:
- main
paths:
- "src"
- "Cargo*"
- ".cargo"
- ".github/workflows/pr-main.yml"
- "rustfmt.toml"

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit ce76857

Please sign in to comment.