github.com/opentofu/opentofu@v1.7.1/.github/workflows/pr-opened.yml (about) 1 name: Pull Request Opened 2 permissions: 3 pull-requests: write 4 5 # only trigger on pull request closed events 6 on: 7 pull_request_target: 8 types: [ opened ] 9 10 jobs: 11 pr_open_job: 12 runs-on: ubuntu-latest 13 steps: 14 - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 15 with: 16 script: | 17 github.rest.issues.createComment({ 18 issue_number: context.issue.number, 19 owner: context.repo.owner, 20 repo: context.repo.repo, 21 body: "Reminder for the PR assignee: If this is a user-visible change, please update the changelog as part of the PR." 22 })