Files non check #10
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
# Marks all newly opened pull requests as drafts | |
name: Draft on Open | |
on: | |
pull_request: | |
types: [ opened ] | |
jobs: | |
mark-as-draft: | |
name: Mark as draft | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Mark as draft | |
uses: voiceflow/draft-pr@latest | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |