Skip to content

test 2

test 2 #2

Workflow file for this run

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 github = require('@actions/github');
const context = github.context;
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
});