From 7d46f08f33696284070191692869a10bb095113f Mon Sep 17 00:00:00 2001 From: heerim hong Date: Thu, 24 Oct 2024 17:16:51 +0900 Subject: [PATCH] change workflows --- .github/workflows/on-issue-opened.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/on-issue-opened.yml b/.github/workflows/on-issue-opened.yml index 3e37cb8..95f88a2 100644 --- a/.github/workflows/on-issue-opened.yml +++ b/.github/workflows/on-issue-opened.yml @@ -1,8 +1,8 @@ name: on issue opened on: - issues: - types: [opened] + issue_comment: + types: [created] jobs: comment: @@ -16,12 +16,5 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: '👋 Thanks for reporting!', - }) - - github.rest.issues.addLabels({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - labels: ['question', 'good first issue', 'hello world'] + body: '👋 Thanks for the comment!', })