Skip to content

sentinel: harden FFI strict parsing for trust boundary 🛡️ #1110

sentinel: harden FFI strict parsing for trust boundary 🛡️

sentinel: harden FFI strict parsing for trust boundary 🛡️ #1110

Workflow file for this run

name: Droid Auto Review
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
concurrency:
group: droid-review-${{ github.repository }}-${{ github.event.pull_request.number }}
cancel-in-progress: ${{ github.event_name == 'pull_request' && github.event.action == 'synchronize' }}
jobs:
droid-review:
if: |
github.event.pull_request.head.repo.full_name == github.repository &&
!contains(github.event.pull_request.title, '[skip-review]')
runs-on: ubuntu-latest
env:
MINIMAX_API_KEY: ${{ secrets.MINIMAX_API_KEY }}
permissions:
contents: write
pull-requests: write
issues: write
id-token: write
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
- name: Configure MiniMax BYOK for Factory Droid
shell: bash
run: |
mkdir -p "$HOME/.factory"
cat > "$HOME/.factory/settings.json" <<'JSON'
{
"customModels": [
{
"model": "MiniMax-M3",
"displayName": "MiniMax-M3",
"baseUrl": "https://api.minimax.io/anthropic",
"apiKey": "${MINIMAX_API_KEY}",
"provider": "anthropic",
"maxOutputTokens": 64000
}
]
}
JSON
- name: Run Droid Auto Review with MiniMax M3 BYOK
uses: EffortlessMetrics/droid-action-safe@7c1377ccbacddc95560d1570547a5baa51de01ec # based on Factory-AI/droid-action v5; raw debug artifact upload disabled
env:
MINIMAX_API_KEY: ${{ secrets.MINIMAX_API_KEY }}
ANTHROPIC_AUTH_TOKEN: ""
ANTHROPIC_BASE_URL: ""
with:
factory_api_key: ${{ secrets.FACTORY_API_KEY }}
upload_debug_artifacts: false
allowed_bots: factory-droid
automatic_review: true
automatic_security_review: true
review_depth: shallow
review_model: "custom:MiniMax-M3-0"
security_model: "custom:MiniMax-M3-0"
security_severity_threshold: high
security_block_on_critical: true
security_block_on_high: false
include_suggestions: true
show_full_output: false