I am trying to upgrade from using 'Lock Bot' to ' Lock Threads', however when this runs against open issues that should be locked, it runs into the following error:
Is there a configuration tweak in the lock.yml that I am missing or is this something that needs to be fixed as a bug?
The text was updated successfully, but these errors were encountered:
Issues that are converted to discussions are automatically locked by GitHub at the moment, so by default the action will ignore converted issues. It's possible to manually unlock the issue, though it has not much use since it's not possible to comment on unlocked issues that have been converted.
The error happens when a converted issue is unlocked and then picked up by the action. The API endpoint for issues and search results does not currently include any clue that an issue has been converted, while issues on GitHub show a link to the associated discussion. As a workaround the action now attempts to create a comment, and ignores the error if it indicates that the issue has been converted to a discussion.
Hi,
I am trying to upgrade from using 'Lock Bot' to ' Lock Threads', however when this runs against open issues that should be locked, it runs into the following error:
Is there a configuration tweak in the lock.yml that I am missing or is this something that needs to be fixed as a bug?
The text was updated successfully, but these errors were encountered: