Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
ci: set all pull requests to draft on open (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavientois committed Nov 8, 2021
1 parent 68d633d commit dd7d0b1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/make-pr-draft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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.GH_SA_TOKEN }}

0 comments on commit dd7d0b1

Please sign in to comment.