Skip to content

Commit

Permalink
fixup! Add automatic PR action
Browse files Browse the repository at this point in the history
  • Loading branch information
pganssle committed Sep 24, 2024
1 parent 1f0f066 commit 049bd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-for-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# Check for changes in the news.d directory
git add -A
news_files=$(git diff --name-only --diff-filter=A | grep '^news.d/.*\.md' || true)
news_files=$(git diff --cached --name-only --diff-filter=A | grep '^news.d/.*\.md' || true)
if [ -z "$news_files" ]; then
echo "No new file in news.d, failing the job."
Expand Down

0 comments on commit 049bd11

Please sign in to comment.