← docs

GitHub Actions integration

Example workflow for running the Scanner outside the GitHub App (self-hosted runners, custom CI).


The recommended setup is the GitHub App (Install the GitHub App). The Action below is for teams who need to run the Scanner on a self-hosted runner or in a custom workflow.

Minimal workflow

# .github/workflows/ai-footprint-scan.yml
name: AI Footprint Scan
on: [pull_request]

jobs:
  scan:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/checkout@v4
      - uses: argus-intelligence/ai-footprint-scanner@v1
        with:
          license: ${{ secrets.AI_FOOTPRINT_LICENSE }}

Add your license key as a repository secret named AI_FOOTPRINT_LICENSE (Settings → Secrets and variables → Actions).

Custom risk definitions

      - uses: argus-intelligence/ai-footprint-scanner@v1
        with:
          license: ${{ secrets.AI_FOOTPRINT_LICENSE }}
          risk_definitions: .argus/risk_definitions.yml

Failing the build on high-risk findings

      - uses: argus-intelligence/ai-footprint-scanner@v1
        with:
          license: ${{ secrets.AI_FOOTPRINT_LICENSE }}
          fail_on: high

fail_on accepts high, limited, minimal, or none (default).