maxkomarychev / lock-issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lock issue

This action is deprecated in favor of https://github.com/maxkomarychev/oction-lock-issue

Lock issue

This action is a wrapper for one of octokit's methods.

Original docs can be found here: https://octokit.github.io/rest.js/#octokit-routes-issues-lock

Quick start

- uses: maxkomarychev/lock-issue@v0.5.2
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    issue_number: 100
    lock_reason: off-topic

Inputs

Name Is required Description
token true A token to perform API calls
issue_number true Issue number to lock
lock_reason true "The reason for locking the issue or pull request conversation. Available reasons: off-topic, too heated, resolved, spam"

About

License:MIT License


Languages

Language:JavaScript 100.0%