From b111102a53ae4aa9899db8a19d0bfecde1b9cd68 Mon Sep 17 00:00:00 2001 From: Matheus Henrique Caiser Barrozo Date: Fri, 7 Nov 2025 15:11:12 -0300 Subject: [PATCH] fix: exclude documentation files from triggering CI/CD workflows - Exclude .md, .mdx, and .txt files from src/ in paths-filter - Prevent unnecessary test/lint/deploy runs for documentation changes - Keep JSON files included as they may contain code configurations - Maintain workflow changes detection for infrastructure updates --- .github/workflows/reusable-deploy-vercel.yml | 3 +++ .github/workflows/reusable-test-and-lint.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/reusable-deploy-vercel.yml b/.github/workflows/reusable-deploy-vercel.yml index a4c0045..7f7e9c3 100644 --- a/.github/workflows/reusable-deploy-vercel.yml +++ b/.github/workflows/reusable-deploy-vercel.yml @@ -62,6 +62,9 @@ jobs: filters: | code: - 'src/**' + - '!src/**/*.md' + - '!src/**/*.mdx' + - '!src/**/*.txt' - 'public/**' - 'package.json' - 'pnpm-lock.yaml' diff --git a/.github/workflows/reusable-test-and-lint.yml b/.github/workflows/reusable-test-and-lint.yml index 76d8d68..d6a7300 100644 --- a/.github/workflows/reusable-test-and-lint.yml +++ b/.github/workflows/reusable-test-and-lint.yml @@ -31,6 +31,9 @@ jobs: filters: | code: - 'src/**' + - '!src/**/*.md' + - '!src/**/*.mdx' + - '!src/**/*.txt' - 'public/**' - 'package.json' - 'pnpm-lock.yaml'