Skip to content
25 changes: 25 additions & 0 deletions .github/workflows/eta-mu-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: eta-mu evidence review

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

# Reusable workflow calls run with `none` unless the caller grants scopes;
# the called jobs request contents:read and pull-requests:read.
permissions:
contents: read
pull-requests: read

jobs:
review:
name: Evidence-first review (eta-mu)
uses: open-hax/eta-mu/.github/workflows/opencode-code-review.yml@2b918cdab2ebd30e745bb8fa86d077d7a3af0030
with:
setup_eta_mu_toolchain: false
evidence_gates_script: |
run_gate diff_stat git diff --stat "${PR_BASE_SHA}...HEAD"
# Least privilege: forward only the secrets the review job consumes.
secrets:
Comment thread
riatzukiza marked this conversation as resolved.
Comment thread
riatzukiza marked this conversation as resolved.
ETA_MU_APP_ID: ${{ secrets.ETA_MU_APP_ID }}
ETA_MU_APP_PRIVATE_KEY: ${{ secrets.ETA_MU_APP_PRIVATE_KEY }}
DISCORD_REVIEW_WEBHOOK_URL: ${{ secrets.DISCORD_REVIEW_WEBHOOK_URL }}
Comment thread
riatzukiza marked this conversation as resolved.
Loading