on pull_request_review:
types:
- submitted
branches:
- master
jobs:
update-changelog:
name: Update CHANGELOG.md
if: ${{ github.event.review.state == 'approved' }}
steps:
- name: Get PR title and author
run: ???
- name: Add PR to log file
run: ???