Skip to content

Remove dead code, fix gofmt drift, and gate formatting in CI #93

Remove dead code, fix gofmt drift, and gate formatting in CI

Remove dead code, fix gofmt drift, and gate formatting in CI #93

Workflow file for this run

name: Hermes PR Review
on:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
workflow_dispatch:
inputs:
pr_number:
description: PR number to review
required: true
type: string
permissions:
contents: read
pull-requests: write
concurrency:
group: hermes-review-${{ github.event.pull_request.number || inputs.pr_number || github.run_id }}
cancel-in-progress: true
jobs:
review:
if: >
github.event_name == 'workflow_dispatch' ||
(
github.event_name == 'pull_request' &&
github.event.pull_request.draft == false &&
github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.user.login == 'midagedev'
)
uses: midagedev/review-actions/.github/workflows/hermes-pr-review.yml@v7
with:
pr_number: ${{ github.event.pull_request.number || inputs.pr_number }}
prompt_path: .github/zai-review-prompt.md
runner_labels: '["self-hosted","vps-hermes","billtap"]'
approve_when_clean: true
allowed_pr_author: midagedev