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 8cf226a commit 1a73951
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 @@ -69,6 +69,7 @@ jobs:
echo "Test" > news.d/2024c.md
# 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)
if [ -z "$news_files" ]; then
Expand All @@ -90,7 +91,6 @@ jobs:
echo "TZDATA_VERSION=$TZDATA_VERSION" >> $GITHUB_ENV
echo "TZDATA_NEWS=$TZDATA_NEWS" >> $GITHUB_ENV
git add .
git commit -m "Update tzdata to version $TZDATA_VERSION"
git push origin HEAD
Expand Down

0 comments on commit 1a73951

Please sign in to comment.