Skip to content

Commit

Permalink
feat: mirror releases to bcr
Browse files Browse the repository at this point in the history
  • Loading branch information
kormide committed May 16, 2022
1 parent 493ba15 commit bbe8047
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/bcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ on:

env:
# Bazel central registry to post a pull request to.
BCR: aspect-build/bazel-central-registry
BCR: bazelbuild/bazel-central-registry

# Fork of the bazel central registery to push the pull request branch to
# BCR_FORK: aspect-build/bazel-central-registry
# TODO: disable this for bazel-lib as we always want to push to our own fork,
# but re-enable for later plugin
BCR_FORK: aspect-build/bazel-central-registry

# String containing submitters to tag
SUBMITTERS: "@alexeagle, @kormide"

jobs:
bcr-pull-request:
Expand Down Expand Up @@ -64,15 +65,14 @@ jobs:
with:
token: ${{ steps.generate-token.outputs.token }}
path: bcr
# push-to-fork: ${{ env.BCR_FORK }}
push-to-fork: ${{ env.BCR_FORK }}
commit-message: ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }}
branch: ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }}
title: ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }}
body: |
[Automated] Publish ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }} to bcr by [bazel-contrib](https://github.com/bazel-contrib).
[Automated] Publish ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }}.
Manual checks:
- [ ] I have checked that the version is correct.
- [ ] I have checked that the compatibility_level in MODULE.bazel is correct.
Submitters:
${{ env.SUBMITTERS }}
- name: Echo PR url
run: echo ${{ steps.post_pr.outputs.pull-request-url }}

0 comments on commit bbe8047

Please sign in to comment.