From 06d886648fb7140f600ecfd84b83891ba3825d6b Mon Sep 17 00:00:00 2001 From: Arthur Araujo Date: Sun, 5 Jan 2025 18:36:27 -0300 Subject: [PATCH] No longer using temp variable --- .github/workflows/update-missing-translations.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-missing-translations.yml b/.github/workflows/update-missing-translations.yml index 1301cf4e..5f5c242b 100644 --- a/.github/workflows/update-missing-translations.yml +++ b/.github/workflows/update-missing-translations.yml @@ -19,17 +19,12 @@ jobs: - name: Write missing translation to file run: | python scripts/check_languages.py -output missing.md -report_summary -report_key_mismatch -report_missing_translations - - name: Get comment body - id: get-comment-body - run: | - body=$(cat missing.md) - echo "body=$body" >> $GITHUB_OUTPUT - name: Update comment - uses: peter-evans/create-or-update-comment@v1 + uses: peter-evans/create-or-update-comment@v4 with: # Update the comment in issue 475 # https://github.com/TTLApp/time-to-leave/issues/475#issuecomment-808787273 comment-id: 808787273 edit-mode: replace - body: ${{ steps.get-comment-body.outputs.body }} + body-path: missing.md reactions: hooray