Skip to content

Close and Lock Discussions

Actions
Close and lock a GitHub Discussions
v0.1.0
Latest
Star (1)

close-discussion-action

GitHub Action to close and lock GitHub Discussions.

image

You can also post a comment.

image

action.yaml

Requirements

  • GitHub CLI
  • GitHub Access Token
    • repositories: a repository where the action is executed
    • permissions: discussions: write

Usage

- uses: suzuki-shunsuke/close-discussion-action@main
  with:
    number: 10 # id or number is required.

💡 Close new discussions automatically

Workflow

This workflow is useful if you want to prevent new discussions from being created while keeping existing discussions.

Inputs / Outputs

Please see action.yaml

LICENSE

MIT

Close and Lock Discussions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Close and lock a GitHub Discussions
v0.1.0
Latest

Close and Lock Discussions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.