Skip to content

Commit 712c7a7

Browse files
Add workflow to acknowledge opened pull requests
1 parent 091846a commit 712c7a7

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/pr-open-ack.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Acknowledge Pull Request
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
acknowledge-pr:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Post acknowledgement comment
13+
uses: actions/github-script@v7
14+
with:
15+
script: |
16+
github.rest.issues.createComment({
17+
owner: context.repo.owner,
18+
repo: context.repo.repo,
19+
issue_number: context.payload.pull_request.number,
20+
body: `Thanks for opening this pull request.
21+
I’ve received it and will review the changes shortly.'
22+
});

0 commit comments

Comments
 (0)