From 2e5c6c95907a8d14829747b4de1cab0048b0f9ce Mon Sep 17 00:00:00 2001 From: OnkarRuikar <87750369+OnkarRuikar@users.noreply.github.com> Date: Tue, 3 Sep 2024 15:43:16 +0530 Subject: [PATCH] add update timestamp --- .github/workflows/spelling-check-bot.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spelling-check-bot.yml b/.github/workflows/spelling-check-bot.yml index 04c0beb95f6ed0d..bd82ef21a12ef51 100644 --- a/.github/workflows/spelling-check-bot.yml +++ b/.github/workflows/spelling-check-bot.yml @@ -32,7 +32,7 @@ jobs: - name: Report issues if: env.OUTPUT != '' run: | - log_data=$(cat< To exclude words from the spellchecker, you can add valid words (web technology terms or abbreviations) to the [terms-abbreviations.txt](https://github.com/mdn/content/blob/main/.vscode/terms-abbreviations.txt) dictionary for IDE autocompletion. To ignore strings that are not words (\`AABBCC\` in code, for instance), you can add them to [ignore-list.txt](https://github.com/mdn/content/blob/main/.vscode/ignore-list.txt). EOM ) + comment_body+=$'\n\n'$(echo "(comment last updated: $(date +'%Y-%m-%d %H:%M:%S'))") gh api \ --method PATCH \ @@ -50,7 +51,7 @@ jobs: -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/mdn/content/issues/35634 \ -f "state=open" \ - -f "body=${log_data}" + -f "body=${comment_body}" env: OUTPUT: ${{ env.OUTPUT }} GH_TOKEN: ${{ github.token }}