File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Issue Opened
2+
3+ on :
4+ issues :
5+ types : [opened]
6+
7+ jobs :
8+ respond :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Comment on new issue
12+ uses : actions/github-script@v7
13+ with :
14+ script : |
15+ github.rest.issues.createComment({
16+ issue_number: context.issue.number,
17+ owner: context.repo.owner,
18+ repo: context.repo.repo,
19+ body: "### 👋 Thanks for opening this issue! I'll review it soon."
20+ })
Original file line number Diff line number Diff line change 1+ name : Pull Request Opened
2+
3+ on :
4+ pull_request :
5+ types : [opened]
6+
7+ jobs :
8+ respond :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Comment on new PR
12+ uses : actions/github-script@v7
13+ with :
14+ script : |
15+ github.rest.issues.createComment({
16+ issue_number: context.issue.number,
17+ owner: context.repo.owner,
18+ repo: context.repo.repo,
19+ body: "### 🚀 Thanks for the pull request! I'll review your changes shortly."
20+ })
You can’t perform that action at this time.
0 commit comments