Mark as draft #426
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mark as draft | |
on: | |
pull_request_review: | |
types: [submitted] | |
jobs: | |
mark-as-draft: | |
if: github.event.review.state == 'changes_requested' | |
name: Mark as draft | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Mark as draft | |
uses: ./.github/actions/draft-pr | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |