Skip to content

Commit

Permalink
Toolchain update: avoid Javascript interpreting git log
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
tautschnig committed Aug 6, 2024
1 parent 520cb3e commit b9495d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/toolchain-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9495d9

Please sign in to comment.