From b9495d9932717c9f075e5da1d815ca3bf7a7f03f Mon Sep 17 00:00:00 2001 From: Michael Tautschnig Date: Tue, 6 Aug 2024 08:25:05 +0000 Subject: [PATCH] Toolchain update: avoid Javascript interpreting git log git log entries may themselves use backticks, which prematurely ended the string (and then caused Javascript syntax errors). Avoid this problem by using the environment variable rather than having Javascript see the string contents (of that environment variable). --- .github/workflows/toolchain-upgrade.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/toolchain-upgrade.yml b/.github/workflows/toolchain-upgrade.yml index b11f4e6b591a..76c3a5484414 100644 --- a/.github/workflows/toolchain-upgrade.yml +++ b/.github/workflows/toolchain-upgrade.yml @@ -64,7 +64,7 @@ jobs: https://github.com/rust-lang/rust/commit/${{ env.next_toolchain_hash }}. The log for this commit range is: - ${{ env.git_log }}` + ` + process.env.git_log }) - name: Create Issue