Skip to content

Commit

Permalink
chore: run path-dependent GitHub workflows when the workflow file cha…
Browse files Browse the repository at this point in the history
…nges as well
  • Loading branch information
Toromyx committed Nov 15, 2023
1 parent 887ff45 commit 115126a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/audit-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
paths:
- "src-tauri/Cargo.lock"
- ".github/workflows/audit-backend.yml"

jobs:
audit_backend:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/audit-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
paths:
- "package-lock.json"
- ".github/workflows/audit-frontend.yml"

jobs:
audit_frontend:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/format-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- "src-tauri/**"
- ".github/workflows/format-backend.yml"

jobs:
format_backend:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- "src-tauri/**"
- ".github/workflows/lint-backend.yml"

jobs:
lint_backend:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- "package-lock.json"
- "tsconfig.json"
- "vite.config.js"
- ".github/workflows/test.yml"

jobs:
test:
Expand Down

0 comments on commit 115126a

Please sign in to comment.