Skip to content

Commit b6770d6

Browse files
authored
Add an automatic PR reminder (#14)
1 parent 331e79d commit b6770d6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/pr-reminder.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: PR Reminder
2+
3+
permissions:
4+
pull-requests: write
5+
6+
on:
7+
pull_request:
8+
types:
9+
- opened
10+
11+
jobs:
12+
pr-reminder:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Comment a reminder on a new PR
16+
uses: actions/github-script@v6
17+
with:
18+
script: |
19+
github.rest.issues.createComment({
20+
issue_number: context.issue.number,
21+
owner: context.repo.owner,
22+
repo: context.repo.repo,
23+
body: 'Hello, this is an automatic reminder that any code changes should be made to [the source](https://github.com/paritytech/polkadot-sdk/tree/master/templates/minimal).'
24+
})

0 commit comments

Comments
 (0)