Skip to content

[release] Release publish fails because locked github issue cannot be commented on #1871

@gotson

Description

@gotson

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. have a locked issue in github
  2. have a commit that mentions this github issue
  3. release

Check https://github.com/gotson/komga/actions/runs/15060573105/job/42334860997 for the actual run that failed.

Expected Behaviour

The exception should be catched, and the comment on the issue should be skipped.

Actual Behaviour

[DEBUG] commenting on issue #1926
org.jreleaser.sdk.commons.RestAPIException: 403: Forbidden
{"message":"Unable to create comment because issue is locked.","documentation_url":"https://docs.github.com/articles/locking-conversations/","status":"403"}
	at org.jreleaser.sdk.commons.ClientUtils.lambda$builder$1(ClientUtils.java:114)

Environment Information

  • Operating System: Ubuntu
  • JReleaser Version: 1.10.0
  • JDK Version: 17

Please paste stacktraces from [out|build|target]/jreleaser/trace.log.

trace.log

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedIssue has been released

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions