Skip to content

Commit

Permalink
fix: github issues link (#1849)
Browse files Browse the repository at this point in the history
Found a small bug while going through debug logs: Github issues can be addressed with the /issues/ (plural) link, but the /issue one leads to a 404. The debug logs use the 404ing one.

Example:
- #1848 works
- https://github.com/googleapis/release-please/issue/1848 is a 404

Co-authored-by: Jeff Ching <chingor@google.com>
  • Loading branch information
Skn0tt and chingor13 authored Feb 15, 2023
1 parent 635cc7d commit 68e6759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ export class GitHub {
commentOnIssue = wrapAsync(
async (comment: string, number: number): Promise<string> => {
this.logger.debug(
`adding comment to https://github.com/${this.repository.owner}/${this.repository.repo}/issue/${number}`
`adding comment to https://github.com/${this.repository.owner}/${this.repository.repo}/issues/${number}`
);
const resp = await this.octokit.issues.createComment({
owner: this.repository.owner,
Expand Down

0 comments on commit 68e6759

Please sign in to comment.