From 47511d9b3af20fa8d69717e23f8acfc704bbadfd Mon Sep 17 00:00:00 2001 From: Nishant Srivastava Date: Fri, 9 Feb 2024 03:23:52 +0100 Subject: [PATCH] make github actions not run when changes are made to markdown files --- .github/workflows/run-tests.yml | 4 ++++ .github/workflows/validate-gradlew.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e5ae1e2..9ae0d6e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 diff --git a/.github/workflows/validate-gradlew.yml b/.github/workflows/validate-gradlew.yml index ed7c567..c492c29 100644 --- a/.github/workflows/validate-gradlew.yml +++ b/.github/workflows/validate-gradlew.yml @@ -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