| name: Pull Request Opened | |
| permissions: | |
| pull-requests: write | |
| # only trigger on pull request closed events | |
| on: | |
| pull_request_target: | |
| types: [ opened ] | |
| jobs: | |
| pr_open_job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | |
| with: | |
| script: | | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: "Reminder for the PR assignee: If this is a user-visible change, please update the changelog as part of the PR." | |
| }) |