• /
  • EnglishEspañolFrançais日本語한국어Português
  • Se connecterDémarrer

Unlock a GitHub issue

|View as Markdown (English)

Removes the conversation lock from a GitHub issue, allowing all users to add new comments.

For authentication setup, see GitHub issue actions.

The following inputs are available for this action.

Input

Type

Description

Example

token

Required. String

GitHub Personal Access Token (fine-grained or classic) stored as a secret. Fine-grained PATs require Issues: Read and write permission. Classic PATs require repo scope.

"${{ :secrets:github-PAT-token }}"

owner

Required. String

The account owner of the repository (user or organization login). Case-insensitive.

"octocat"

repo

Required. String

Repository name without the .git suffix. Case-insensitive.

"Hello-World"

issueNumber

Required. Int

The number that identifies the issue.

1347

selectors

Optional. List

JQ selectors to extract values from the response.

This action returns the following outputs.

Output

Type

Example

response

Empty

Empty response body (HTTP 204 No Content).

success

Boolean

success: true | false

errorMessage

String

Contains the GitHub API error response body.

Workflow example

name: github_unlock_issue_workflow
description: Unlock a GitHub issue
steps:
- name: unlock_issue
type: action
action: gitHub.issue.unlock
version: 1
inputs:
token: ${{ :secrets:github-PAT-token }}
owner: your_user_name
repo: test-workflow
issueNumber: 7
next: end
Droits d'auteur © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.