Skip to content

Commit da355e5

Browse files
authored
Merge pull request #194 from authzed/api-update-create-draft-prs
Update triggered PRs to be drafts
2 parents 84fc70b + 1e9395f commit da355e5

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/automatic-api-update.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
with:
4141
delete-branch: "true"
4242
title: "Update API to ${{ github.event.client_payload.BUFTAG }}"
43+
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
44+
draft: "always-true"
4345
branch: "api-change/${{ github.event.client_payload.BUFTAG }}"
4446
base: "main"
4547
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/cla.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "CLA"
23
on: # yamllint disable-line rule:truthy
34
issue_comment:

.github/workflows/manual-api-update.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
with:
4242
delete-branch: "true"
4343
title: Update API to ${{ inputs.buftag }}
44+
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
45+
draft: "always-true"
4446
branch: api-change/${{ inputs.buftag }}
4547
base: "main"
4648
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)