Skip to content

docs: refresh project statistics #212

docs: refresh project statistics

docs: refresh project statistics #212

name: Homogeneity Check
on:
push:
pull_request:
jobs:
check:
name: Agent Secret Scan (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install ripgrep (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y ripgrep
- name: Install ripgrep (macOS)
if: runner.os == 'macOS'
run: brew install ripgrep
- name: Install ripgrep (Windows)
if: runner.os == 'Windows'
run: choco install ripgrep -y
- name: Run Agent Secret Scan (Bash)
if: runner.os != 'Windows'
run: bash scripts/scan-agent-secrets.sh --fail-on-high .
- name: Run Agent Secret Scan (Bash on Windows)
if: runner.os == 'Windows'
shell: bash
run: bash scripts/scan-agent-secrets.sh --fail-on-high .
- name: Run Homogeneity Check (Bash)
if: runner.os != 'Windows'
run: bash scripts/check-homogeneity.sh --dry-run --no-patch "$GITHUB_WORKSPACE"
- name: Run Homogeneity Check (PowerShell)
if: runner.os == 'Windows'
shell: pwsh
run: pwsh -NoProfile -File scripts/check-homogeneity.ps1 -TargetDir $env:GITHUB_WORKSPACE -DryRun -NoPatch