Owner
RequiredTextUser or organisation.
This input offers a picker for repository from your connected account. You can also supply its value directly.
octocat
Stop anyone but collaborators commenting.
First, connect GitHub in Services. Then open Actions → + → GitHub and choose Lock an Issue.
Running or testing this action changes something in your connected service.
Locking hides nothing and deletes nothing; it only refuses new comments from people without write access. Answers 204 with no body, so an action built on it has nothing to return — the run either succeeded or reported an error.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
User or organisation.
This input offers a picker for repository from your connected account. You can also supply its value directly.
octocat
Name only, without the owner and without .git.
This input offers a picker for repository from your connected account. You can also supply its value directly.
Hello-World
The number shown in the interface, not the internal id.
This input offers a picker for issue from your connected account. You can also supply its value directly.
42
Optional, and shown in the issue timeline.
Choices: off-topic, too heated, resolved, spam
The app does not declare selectable response fields for this action. A successful operation may return no content. Inspect the run in Logs to see the service’s response.
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
Request: PUT https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}/lock
Action identifier: github.issues.lock.v1
Permissions declared for this action: issues:write. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| Owner | owner | path |
| Repository | repo | path |
| Issue Number | issue_number | path |
| Reason | lock_reason | body |