Skip to content

Commit

Permalink
only trigger tests in PR when code was changed
Browse files Browse the repository at this point in the history
  • Loading branch information
arriven committed Mar 7, 2022
1 parent 7f146fc commit 3c2c337
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- "main"
pull_request:
paths:
- "src/**"
- "main.go"
- "go.mod"
- "go.sum"

jobs:
test:
Expand Down

0 comments on commit 3c2c337

Please sign in to comment.