GitHub Action to close and lock GitHub Discussions.
You can also post a comment.
- GitHub CLI
- GitHub Access Token
- repositories: a repository where the action is executed
- permissions:
discussions: write
- uses: suzuki-shunsuke/close-discussion-action@main
with:
number: 10 # id or number is required.
This workflow is useful if you want to prevent new discussions from being created while keeping existing discussions.
Please see action.yaml