Skip to content

Commit

Permalink
Add an automatic PR reminder (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Aug 8, 2024
1 parent ef08431 commit 1c62506
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pr-reminder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PR Reminder

permissions:
pull-requests: write

on:
pull_request:
types:
- opened

jobs:
pr-reminder:
runs-on: ubuntu-latest
steps:
- 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/solochain).'
})

0 comments on commit 1c62506

Please sign in to comment.