mirror of
https://github.com/github/codeql-action.git
synced 2026-10-21 10:11:28 +00:00
Escape backticks PR comment body
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/pr-checks.yml
vendored
2
.github/workflows/pr-checks.yml
vendored
@@ -300,7 +300,7 @@ jobs:
|
||||
|
||||
body="$COMMENT_MARKER
|
||||
⚠️ CHANGELOG.md has been modified in this PR. Please do not modify CHANGELOG.md directly.
|
||||
Instead, create a change-note file in `unreleased-change-notes/`. The CHANGELOG.md
|
||||
Instead, create a change-note file in \`unreleased-change-notes/\`. The CHANGELOG.md
|
||||
file will be automatically generated from those change-notes.
|
||||
See [unreleased-change-notes/README.md](unreleased-change-notes/README.md) for more information."
|
||||
gh api --method POST "repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/comments" --field body="$body"
|
||||
|
||||
Reference in New Issue
Block a user