Skip to content

Commit da121a2

Browse files
committed
chore: create bcr prs as non-draft so bazel-io processes the bot-created PRs (#3504)
By default, the workflow creates draft PRs. The bazel-io bot ignores drafts. Since we can't mark the PR as non-draft ourselves, we then have to wait for bcr maintainers to do so. To fix, create the bcr prs are non-draft. Then we can approve and the bazel-io bot will approve and merge the PR. (cherry picked from commit 22f3de0)
1 parent c0f045b commit da121a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
# GitHub repository which is a fork of the upstream where the Pull Request will be opened.
2828
registry_fork: bazel-contrib/bazel-central-registry
2929
attest: false
30+
# Create non-draft PRs so the BCR bazel-io bot processes them. Otherwise,
31+
# since a bazel-contrib bot, we have to wait for BCR maintainers to mark it
32+
# non-draft or approve it.
33+
draft: false
3034
permissions:
3135
contents: write
3236
secrets:

0 commit comments

Comments
 (0)