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.
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index fb46168..5ef65e8 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -27,6 +27,10 @@
# GitHub repository which is a fork of the upstream where the Pull Request will be opened.
registry_fork: bazel-contrib/bazel-central-registry
attest: false
+ # Create non-draft PRs so the BCR bazel-io bot processes them. Otherwise,
+ # since a bazel-contrib bot, we have to wait for BCR maintainers to mark it
+ # non-draft or approve it.
+ draft: false
permissions:
contents: write
secrets: