Skip to content

pr review dismissed #576

pr review dismissed

pr review dismissed #576

name: pr review dismissed
on:
pull_request_review:
types:
- submitted
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set pull request to draft
if: ${{ github.event.review.state == 'changes_requested' }}
run: gh pr ready ${{ github.event.pull_request.number }} --undo
env:
GH_TOKEN: ${{ github.token }}