Skip to content

Commit

Permalink
make github actions not run when changes are made to markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
nisrulz committed Feb 9, 2024
1 parent 3444e91 commit 47511d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: "Unit tests"
on:
# Allows to run this workflow when a commit it pushed to the branch
push:
paths-ignore:
- "**/*.md"
branches:
- main
# Allows to run this workflow when a Pull Request is made with the set target branch
pull_request:
paths-ignore:
- "**/*.md"
branches:
- main
# Allows to run this workflow manually from the Actions tab
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/validate-gradlew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: "Validate Gradle Wrapper"
on:
# Allows to run this workflow when a commit it pushed to the branch
push:
paths-ignore:
- "**/*.md"
branches:
- main
# Allows to run this workflow when a Pull Request is made with the set target branch
pull_request:
paths-ignore:
- "**/*.md"
branches:
- main

Expand Down

0 comments on commit 47511d9

Please sign in to comment.