Skip to content

chore: propagate security guidance from home-baseline v1.12.0 #50

chore: propagate security guidance from home-baseline v1.12.0

chore: propagate security guidance from home-baseline v1.12.0 #50

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
- 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 .