Skip to content

Commit

Permalink
Fix URLs in escaped PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Apr 21, 2024
1 parent 930a32d commit 462b62b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/updater
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Dir.glob("#{gitdir}/exporters/*/metadata.yml").each do |metadatafile|

puts "Create pull request for #{branch}..."

body = latest_release[:body].gsub(/@([a-z0-9-]+)/i, "<a href='https://github/\\1'><code>@\\1</code></a>")
body = latest_release[:body].gsub(/@([a-z0-9-]+)/i, "<a href='https://github.com/\\1'><code>@\\1</code></a>")

client.create_pull_request(
ENV["GITHUB_REPOSITORY"],
Expand Down

0 comments on commit 462b62b

Please sign in to comment.