Skip to content

feat(bots): onboard reviewer-bot to pinned databricks-bot-engine #1

feat(bots): onboard reviewer-bot to pinned databricks-bot-engine

feat(bots): onboard reviewer-bot to pinned databricks-bot-engine #1

# Reviewer Bot — follow-up on review-comment replies.
#
# Thin caller of the databricks-bot-engine reusable workflow. The engine owns
# the security + correctness floor (fork==false, PR open), token mint, engine
# install, and the agent invocation; loop-prevention (skip own reply / reconcile
# / non-reply comments) lives in the engine's followup.py post-checkout. This
# file is just `on:` + `uses:` + `secrets:`.
#
# Enablement policy: NO `if:` gate — engage every non-fork open PR, matching this
# repo's prior behavior. (To restrict later, add a caller-job `if:`, e.g. a
# `review-bot` label gate; it ANDs with the engine's security floor.)
#
# Engine pin: the SHA below is used in BOTH the `uses:` ref AND `engine-ref:`.
# Bump both in lockstep with reviewer-bot.yml; never use @main.
name: Reviewer Bot — Follow-up
on:
pull_request_review_comment:
types: [created]
pull_request:
types: [synchronize]
permissions:
contents: read
pull-requests: write
id-token: write # JFrog OIDC exchange for the engine/SDK/CLI install
jobs:
followup:
uses: databricks/databricks-bot-engine/.github/workflows/reviewer-bot-followup.reusable.yml@b6205fb502566d617a456ccf3c37f3e4e3072ccd

Check failure on line 30 in .github/workflows/reviewer-bot-followup.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reviewer-bot-followup.yml

Invalid workflow file

error parsing called workflow ".github/workflows/reviewer-bot-followup.yml" -> "databricks/databricks-bot-engine/.github/workflows/reviewer-bot-followup.reusable.yml@b6205fb502566d617a456ccf3c37f3e4e3072ccd" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
engine-ref: b6205fb502566d617a456ccf3c37f3e4e3072ccd
# PAT-free install (see reviewer-bot.yml). Mints an engine-scoped App token
# from the review-bot App creds; no BOT_ENGINE_PAT needed.
engine-auth: app
secrets:
review-bot-app-id: ${{ secrets.REVIEW_BOT_APP_ID }}
review-bot-app-private-key: ${{ secrets.REVIEW_BOT_APP_PRIVATE_KEY }}
databricks-token: ${{ secrets.DATABRICKS_TOKEN }}
databricks-host: ${{ secrets.DATABRICKS_HOST }}