From 1b0d94372155053977b9d881fd9e6319dc9a6f27 Mon Sep 17 00:00:00 2001 From: Ananya Nayak Date: Mon, 19 Jun 2023 08:58:26 +0000 Subject: [PATCH 1/3] ci: added paths-ignore option --- .github/workflows/tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aaac701734..4abdcee24b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,8 +3,18 @@ name: Tests on: push: branches: [main] + paths-ignore: + - "**/*.md" + - ".prettierrc" + - ".npmrc" + - ".gitignore" pull_request: branches: [main] + paths-ignore: + - "**/*.md" + - ".prettierrc" + - ".npmrc" + - ".gitignore" env: VITE_APPWRITE_ENDPOINT: http://appwrite.test/v1 From c53c845641f25c55cc5a78ec8567cd2891948b37 Mon Sep 17 00:00:00 2001 From: Ananya Nayak Date: Sun, 13 Aug 2023 10:41:58 +0530 Subject: [PATCH 2/3] ci: ignore assets during tests workflow --- .github/workflows/tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4abdcee24b..76ba7543a2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,10 @@ on: - ".prettierrc" - ".npmrc" - ".gitignore" + - ".env.example" + - ".eslintrc.cjs" + - ".eslintignore" + - "static/*" pull_request: branches: [main] paths-ignore: @@ -15,6 +19,10 @@ on: - ".prettierrc" - ".npmrc" - ".gitignore" + - ".env.example" + - ".eslintrc.cjs" + - ".eslintignore" + - "static/*" env: VITE_APPWRITE_ENDPOINT: http://appwrite.test/v1 From adbbe45b568c5ed6ec63592281a5e63fbf50679d Mon Sep 17 00:00:00 2001 From: Ananya Nayak Date: Sun, 13 Aug 2023 10:41:58 +0530 Subject: [PATCH 3/3] ci: ignore assets during tests workflow --- .github/workflows/tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4abdcee24b..aca5daad51 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,6 +8,10 @@ on: - ".prettierrc" - ".npmrc" - ".gitignore" + - ".env.example" + - ".eslintrc.cjs" + - ".eslintignore" + - "static/**/*" pull_request: branches: [main] paths-ignore: @@ -15,6 +19,10 @@ on: - ".prettierrc" - ".npmrc" - ".gitignore" + - ".env.example" + - ".eslintrc.cjs" + - ".eslintignore" + - "static/**/*" env: VITE_APPWRITE_ENDPOINT: http://appwrite.test/v1