Update .github/workflows/reviewbot.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ludy 2025-06-24 09:02:00 +02:00 committed by GitHub
parent 6e72d9075a
commit 4f391ea4f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: |