From 4f391ea4f1fda0d8663cfc24150beb0e92175fe5 Mon Sep 17 00:00:00 2001 From: Ludy Date: Tue, 24 Jun 2025 09:02:00 +0200 Subject: [PATCH] Update .github/workflows/reviewbot.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/reviewbot.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reviewbot.yml b/.github/workflows/reviewbot.yml index a92624eae..bf7cfb415 100644 --- a/.github/workflows/reviewbot.yml +++ b/.github/workflows/reviewbot.yml @@ -28,11 +28,17 @@ jobs: if: github.actor != 'dependabot[bot]' id: setup-bot uses: ./.github/actions/setup-bot - continue-on-error: true with: app-id: ${{ secrets.GH_APP_ID }} private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} + - name: Verify Bot Setup + if: github.actor != 'dependabot[bot]' + run: | + if [ -z "${{ steps.setup-bot.outputs.token }}" ]; then + echo "Error: Bot setup failed. Token is missing." >&2 + exit 1 + fi - name: Check if actor is repo developer id: actor run: |