Tools
Developer tools
English

RepoRefit / Developer tools

RepoRefit GitHub Action

Check every pull request automatically. The action runs on your own GitHub runner, reads the files only, and needs no token or secret.

Set up in one file

Create .github/workflows/reporefit.yml in your repository:

name: RepoRefit
on:
  push:
  pull_request:
  workflow_dispatch:
  schedule:
    - cron: '0 3 * * 1'
permissions:
  contents: read
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          persist-credentials: false
      - uses: reporefit/action@v1
        with:
          fail-on: high

When it runs

Inputs

InputDefaultMeaning
path.Folder to check, relative to the repository root.
toolallWhich checks to run (same IDs as the CLI).
fail-onhighFail the step when a finding is at least this severe: high, medium, low or none.
langenLanguage of the summary and reports: en, ko, ja, zh-Hans.
badgeWrite a README badge SVG to this path.
ignoreExtra ignore patterns, one per line or comma-separated.

Outputs

Use these in later steps, for example to post a comment or decide what to do next:

findings, high, medium, low, passed, evaluated, partial, fix-plan, report-md, report-json

Reports and the AI fix plan

The job summary shows the Markdown report. The Markdown and JSON reports and the AI fix plan are written to the runner's temp folder; upload them as an artifact if you want to keep them:

      - uses: reporefit/action@v1
        id: rr
        with:
          fail-on: medium
          tool: secrets
          lang: ko
      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: reporefit
          path: |
            ${{ steps.rr.outputs.report-md }}
            ${{ steps.rr.outputs.report-json }}
            ${{ steps.rr.outputs.fix-plan }}

Block merges on findings

The step fails (exit code 1) when a finding reaches fail-on. In Settings → Branches, add the job as a required status check to block merging until it passes.

Security