Skip to content

Commit

Permalink
changed automatic testing to only trigger on commit if it comes with …
Browse files Browse the repository at this point in the history
…changes to src or pom
  • Loading branch information
brunomsaraiva committed Sep 6, 2024
1 parent 3155920 commit e5d4eb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Automatic Testing
on:
push:
branches: ["main"]
paths:
# only run if src
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore
- "src/**"
- "pom.xml"
pull_request:
branches: ["main"]
workflow_dispatch:
Expand Down

0 comments on commit e5d4eb0

Please sign in to comment.