Skip to content

Small fix

Small fix #67

Workflow file for this run

name: Auto-Reply to PR
on:
pull_request:
types: [opened]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Reply to PR
uses: actions/github-script@v5
with:
script: |
const prComment = `
🖐️ Hello @${{ github.actor }}!
Thank you for your contribution. We will review your pull request soon. Please make sure you have followed our contributing guidelines.
`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: prComment
});
github.rest.issues.update({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['enhancement', 'new']
});