Skip to content

Commit

Permalink
Using path specifiers in PR triggers too
Browse files Browse the repository at this point in the history
  • Loading branch information
anchal-physics committed May 9, 2024
1 parent aeb0c0f commit 329f0cf
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- '*.jl'
pull_request:
branches: ["master", "dev"]
paths:
- '.github/workflows/format_check.yml'
- '*.jl'
jobs:
check:
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/make_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Make Docs
on:
pull_request:
branches: ["master", "dev"]
paths:
- '.github/workflows/make_docs.yml'
- 'src/'
- 'docs/**'
push:
branches:
- master
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- 'test/'
pull_request:
branches: ["master", "dev"]
paths:
- '.github/workflows/test.yml'
- 'src/'
- 'test/'
jobs:
test:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 329f0cf

Please sign in to comment.