Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit afaa8da

Browse files
authored
ci: set all pull requests to draft on open (#42)
1 parent b2808bf commit afaa8da

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Marks all newly opened pull requests as drafts
2+
name: Draft on Open
3+
on:
4+
pull_request:
5+
types: [ opened ]
6+
7+
jobs:
8+
mark-as-draft:
9+
name: Mark as draft
10+
if: github.event.pull_request.draft == false
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Mark as draft
14+
uses: voiceflow/draft-pr@latest
15+
with:
16+
token: ${{ secrets.GH_SA_TOKEN }}

0 commit comments

Comments
 (0)