Skip to content

Commit

Permalink
Create pr-reminder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp authored Aug 8, 2024
1 parent 660c8a0 commit 8ca9bd1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pr-reminder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR Reminder

on:
pull_request:
types:
- opened

jobs:
pr-reminder:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Comment a reminder on a new PR
uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
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).'
})

0 comments on commit 8ca9bd1

Please sign in to comment.