Skip to content

Commit ace7ecc

Browse files
Exclude credits directly in the action
1 parent eced1d9 commit ace7ecc

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/branch-markdown.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
# Fetch the base branch
3030
git fetch origin ${{ github.base_ref }}
3131
32-
# Get changed .md and .mdx files
33-
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT origin/${{ github.base_ref }}...HEAD | grep -E '\.(md|mdx)$' || true)
32+
# Get changed .md and .mdx files, excluding credits.md
33+
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT origin/${{ github.base_ref }}...HEAD | grep -E '\.(md|mdx)$' | grep -v 'docs/credits.md' || true)
3434
3535
# Store the files
3636
echo "files<<EOF" >> $GITHUB_OUTPUT

.markdownlintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)