2023-09-10 04:00:17 -05:00
|
|
|
name: Pull Request Opened
|
2022-01-25 11:27:49 -06:00
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
# only trigger on pull request closed events
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
2023-09-10 04:00:17 -05:00
|
|
|
types: [ opened ]
|
2022-01-25 11:27:49 -06:00
|
|
|
|
|
|
|
jobs:
|
2023-09-10 04:00:17 -05:00
|
|
|
pr_open_job:
|
2022-01-25 11:27:49 -06:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-07-14 12:02:38 -05:00
|
|
|
- uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
|
2022-01-25 11:27:49 -06:00
|
|
|
with:
|
|
|
|
script: |
|
|
|
|
github.rest.issues.createComment({
|
|
|
|
issue_number: context.issue.number,
|
|
|
|
owner: context.repo.owner,
|
|
|
|
repo: context.repo.repo,
|
2023-09-10 04:00:17 -05:00
|
|
|
body: "Reminder for the PR assignee: If this is a user-visible change, please update the changelog as part of the PR."
|
2022-01-25 11:27:49 -06:00
|
|
|
})
|