Skip to content

Commit

Permalink
chore: update paths in workflow
Browse files Browse the repository at this point in the history
- Limit paths to SubRenamer and SubRenamer.Tests
- Trigger on push and pull request to main branch
  • Loading branch information
qwqcode committed Sep 23, 2024
1 parent f5c096b commit 0c964bd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: Test
on:
push:
branches: ["main"]
paths: ["**/*.cs"]
paths:
- "SubRenamer/**"
- "SubRenamer.Tests/**"
pull_request:
branches: ["main"]
paths: ["**/*.cs"]
paths:
- "SubRenamer/**"
- "SubRenamer.Tests/**"
workflow_dispatch:

env:
Expand Down

0 comments on commit 0c964bd

Please sign in to comment.