From 11672aa94227a258148d0aa3d5768abdd92cb06f Mon Sep 17 00:00:00 2001 From: farchaab Date: Tue, 3 Sep 2024 16:21:01 +0200 Subject: [PATCH] added paths ignore --- .github/workflows/unit-tests.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index d88736b..b289d66 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -2,19 +2,16 @@ name: Tests on: push: - branches: ["main"] - paths: - - ".github/workflows/unit-tests.yml" - - "tests/**" - - "mess/**" - - "setup.py" + branches: + - main + paths-ignore: + - "docs/**" + - "*.md" pull_request: - branches: ["main"] - paths: - - ".github/workflows/unit-tests.yml" - - "tests/**" - - "mess/**" - - "setup.py" + paths-ignore: + - "docs/**" + - "*.md" + permissions: contents: read