Skip to content

Commit 9bb6f54

Browse files
committed
Update triggered PRs to be drafts
1 parent 35331a6 commit 9bb6f54

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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)