test 1 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment on New Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Comment on the issue | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const issueComment = "Thank you for opening this issue! We will look into it shortly."; | |
await github.issues.createComment({ | |
...context.repo, | |
issue_number: context.issue.number, | |
body: issueComment | |
}); |