dessant / lock-threads

GitHub Action that locks closed issues, pull requests and discussions after a period of inactivity
https://github.com/marketplace/actions/lock-threads
MIT License
313 stars 34 forks source link

Allow reactions in locked conversations #42

Closed Wirone closed 1 year ago

Wirone commented 1 year ago

If you lock conversation manually via UI, there's an option to allow reactions:

image

Is it possible to use this option within dessant/lock-threads action? I don't see related option in the docs.

dessant commented 1 year ago

The "Allow reactions" option is only available when locking discussions on GitHub, it is not supported by the GitHub API at the moment.

https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#lock-an-issue https://docs.github.com/en/graphql/reference/interfaces#lockable

Regardless, this action does not support locking discussions, the feature request is tracked here: https://github.com/dessant/lock-threads/issues/25

Wirone commented 1 year ago

Yeah, I saw #25 but I thought "Allow reactions" is a general thing for locking conversations, not only for discussions.. My fault I did not check it, sorry for the noise 😅.