diff --git a/.github/workflows/validate-formatting.yaml b/.github/workflows/validate-formatting.yaml index eac0936f..760ab277 100644 --- a/.github/workflows/validate-formatting.yaml +++ b/.github/workflows/validate-formatting.yaml @@ -64,7 +64,7 @@ jobs: script: | const result = "${{ job.status }}" === "success" ? "success" : "failure"; const diff = Buffer.from( - "${{ steps.shfmt.outputs.diff }}", + ${{ steps.shfmt.outputs.diff }}, "base64", ).toString(); const issueNumber = context.payload.pull_request @@ -75,7 +75,7 @@ jobs: if (result === "failure") { newCommentBody += - ":x: We found issues in the formatting of the following changed files:\n\n\`\`\`diff\n${diff}\n\`\`\`\n"; + `:x: We found issues in the formatting of the following changed files:\n\n\`\`\`diff\n${diff}\n\`\`\`\n`; } else { newCommentBody += `:rocket: All changed shell scripts are formatted correctly!\n`; }