Skip to content

Commit

Permalink
change workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-Hong committed Oct 24, 2024
1 parent 6102647 commit 7d46f08
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/on-issue-opened.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: on issue opened

on:
issues:
types: [opened]
issue_comment:
types: [created]

jobs:
comment:
Expand All @@ -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!',
})

0 comments on commit 7d46f08

Please sign in to comment.