From f5ead6ca6078b7a6748e1505f8f210880d53f2d7 Mon Sep 17 00:00:00 2001 From: Kang Ming Date: Tue, 22 Sep 2026 16:44:02 -0700 Subject: [PATCH 1/2] chore: add job to notify on new release Signed-off-by: Kang Ming --- .github/workflows/main.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 61a42c3a..8f9f8854 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -77,6 +77,31 @@ jobs: --target "$COMMIT_SHA" \ dist/install*.yaml + notify-builder: + needs: update-current-release + runs-on: ubuntu-latest + permissions: {} + steps: + - name: Generate GitHub App token for the builder repo + id: builder-token + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 + with: + app-id: ${{ vars.MULTIGRES_BOT_APP_ID }} + private-key: ${{ secrets.MULTIGRES_BOT_APP_PRIVATE_KEY }} + owner: multigres + repositories: multigres-operator-builder + # repository_dispatch requires contents: write on the target repo. + permission-contents: write + + - name: Dispatch current-release-updated + env: + COMMIT_SHA: ${{ github.sha }} + GH_TOKEN: ${{ steps.builder-token.outputs.token }} + run: | + gh api repos/multigres/multigres-operator-builder/dispatches \ + -f event_type=current-release-updated \ + -f "client_payload[sha]=$COMMIT_SHA" + coverage: name: Coverage permissions: From 6dea73373d7c620fe37238ddad2d471cc97977f7 Mon Sep 17 00:00:00 2001 From: Kang Ming Date: Thu, 24 Sep 2026 15:15:32 -0700 Subject: [PATCH 2/2] chore: use dedicated app --- .github/workflows/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8f9f8854..9b0ef87e 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -86,8 +86,8 @@ jobs: id: builder-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: - app-id: ${{ vars.MULTIGRES_BOT_APP_ID }} - private-key: ${{ secrets.MULTIGRES_BOT_APP_PRIVATE_KEY }} + app-id: ${{ vars.BUILDER_DISPATCH_APP_ID }} + private-key: ${{ secrets.BUILDER_DISPATCH_APP_PRIVATE_KEY }} owner: multigres repositories: multigres-operator-builder # repository_dispatch requires contents: write on the target repo.