Commit accaa5a
authored
fix: correct GitHub API path for deleting label-reminder comment (#157)
The DELETE endpoint for issue comments does not include the issue number
in the path (`/repos/{owner}/{repo}/issues/comments/{comment_id}`), unlike
the LIST endpoint which does. The extra `$PR_NUMBER` segment produced a
404, leaving stale reminder comments on PRs after the codebuild label was
added.
Co-authored-by: Scott Schreckengaust <345885+scottschreckengaust@users.noreply.github.com>1 parent 7bd9218 commit accaa5a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments