Skip to content

update error wording - #2467

Merged
aiqiaoy merged 1 commit into
mainfrom
aiqiaoy/update-error-wording
Jun 17, 2026
Merged

update error wording#2467
aiqiaoy merged 1 commit into
mainfrom
aiqiaoy/update-error-wording

Conversation

@aiqiaoy

@aiqiaoy aiqiaoy commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Update error wording to avoid comma directly after the url to allow auto-linking to work properly in workflow run log

Copilot AI review requested due to automatic review settings June 17, 2026 16:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the runtime error message emitted by assertSafePrCheckout to improve URL auto-linking in GitHub Actions logs by avoiding punctuation immediately following the URL.

Changes:

  • Reword the unsafe PR checkout refusal error text so the https://gh.io/securely-using-pull_request_target URL is followed by whitespace (not a comma).
  • Regenerate the bundled dist/index.js to reflect the source change.
Show a summary per file
File Description
src/unsafe-pr-checkout-helper.ts Adjusts the thrown error string to keep the URL auto-link friendly in logs.
dist/index.js Updates the compiled/bundled output with the new error wording.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/2 changed files
  • Comments generated: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants