diff --git a/.github/workflows/check-for-updates.yml b/.github/workflows/check-for-updates.yml index d83bc96..834b2e1 100644 --- a/.github/workflows/check-for-updates.yml +++ b/.github/workflows/check-for-updates.yml @@ -69,7 +69,7 @@ jobs: echo "Test" > news.d/2024c.md # Check for changes in the news.d directory - git add -a + git add -A news_files=$(git diff --name-only --diff-filter=A | grep '^news.d/.*\.md' || true) if [ -z "$news_files" ]; then