• /
  • EnglishEspañolFrançais日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

GitHub 이슈에 댓글을 작성합니다

기존 GitHub 이슈에 새 댓글을 생성합니다.

인증 설정에 대해서는 GitHub 이슈 작업을 참조하십시오.

이 작업에서는 다음 입력을 사용할 수 있습니다.

입력 필드

선택성

유형

설명

예시

token

필수의

문자열

시크릿으로 저장된 GitHub 개인 액세스 토큰(세분화된 또는 클래식)입니다. 세분화된 PAT에는 Issues: 읽기 및 쓰기 권한이 필요합니다. 클래식 PAT에는 리포지터리 범위가 필요합니다.

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

owner

필수의

문자열

저장소의 계정 소유자(사용자 또는 조직 로그인)입니다. 대소문자를 구분하지 않습니다.

"octocat"

repo

필수의

문자열

.git이 없는 저장소 이름 접미사. 대소문자를 구분하지 않습니다.

"Hello-World"

issueNumber

필수의

Int

문제를 식별하는 번호입니다.

1347

body

필수의

문자열

주석의 내용입니다.

"Issue has been investigated and resolved."

selectors

선택 과목

목록

응답에서 값을 추출하기 위한 JQ 선택자입니다.

[{"name": "commentId", "expression": ".id"}]

이 작업은 다음 출력을 반환합니다.

출력 필드

유형

예시

response

물체

{
"id": 1,
"html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1",
"body": "Issue has been investigated and resolved.",
"user": {
"login": "octocat"
},
"created_at": "2011-04-14T16:00:49Z",
"updated_at": "2011-04-14T16:00:49Z",
"issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347"
}

success

부울

success: true | false

errorMessage

문자열

GitHub API 오류 응답 본문을 포함합니다.

워크플로 예

name: github_comment_issue_workflow
description: Add a comment to a GitHub issue
steps:
- name: add_comment
type: action
action: gitHub.issue.comment
version: 1
inputs:
token: ${{ :secrets:github-PAT-token }}
owner: your_user_name
repo: test-workflow
issueNumber: 7
body: |
This issue has been investigated.
Runbook: https://runbooks.example.com/checkout-5xx
next: end
Copyright © 2026 New Relic Inc.

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