From dd96fde94983c467bf5da3f7cafae54c5031861a Mon Sep 17 00:00:00 2001 From: yuyawk <46620009+yuyawk@users.noreply.github.com> Date: Wed, 15 May 2024 23:15:01 +0900 Subject: [PATCH] fix: allow bazel steward to modify branch names, to avoid conflicts (#47) --- .github/workflows/bazel-steward.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/bazel-steward.yml b/.github/workflows/bazel-steward.yml index 7207efa..d039a00 100644 --- a/.github/workflows/bazel-steward.yml +++ b/.github/workflows/bazel-steward.yml @@ -24,6 +24,14 @@ jobs: with: app-id: ${{ secrets.BAZEL_STEWARD_APP_ID }} private-key: ${{ secrets.BAZEL_STEWARD_APP_PRIVATE_KEY }} + - name: Generate config file to modify branch name + shell: bash + run: | + cat << 'EOS' > bazel-steward.yaml + --- + pull-requests: + - branch-prefix: "bazel-steward-${{ matrix.workspace-root }}/" + EOS - uses: VirtusLab/bazel-steward@v1.5.0 with: github-token: ${{ steps.app-token.outputs.token }}