diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml new file mode 100644 index 0000000..dcb723b --- /dev/null +++ b/.github/workflows/pr-reminder.yml @@ -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).' + })