Skip to content

Commit 2fd8caf

Browse files
Commit
1 parent c0329a3 commit 2fd8caf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/check-for-updates.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
echo "TZDATA_VERSION='$TZDATA_VERSION'" >> $GITHUB_ENV
9191
{
9292
echo 'TZDATA_NEWS<<EOF'
93-
echo $TZDATA_NEWS
93+
cat "$news_files"
9494
echo EOF
9595
} >> "$GITHUB_ENV"
9696
@@ -100,7 +100,7 @@ jobs:
100100
run: |
101101
git checkout -b "updates/update_${TZDATA_VERSION}"
102102
git commit -m "Update tzdata to version $TZDATA_VERSION" \
103-
-m "$TZDATA_NEWS"
103+
-m "$(cat $news_files)"
104104
git push --force origin "updates/update_${TZDATA_VERSION}"
105105
106106
- name: Create pull request
@@ -109,7 +109,7 @@ jobs:
109109
if: env.CHANGES_DETECTED == 'true'
110110
run: |
111111
gh pr create --title "Update tzdata to version $TZDATA_VERSION" \
112-
--body "$TZDATA_NEWS" \
112+
--body "$(cat $news_files)" \
113113
--base master \
114114
--head $(git rev-parse --abbrev-ref HEAD) \
115115
--label "automatic-updates"

0 commit comments

Comments
 (0)