Skip to content

Commit d00d201

Browse files
author
Your Name
committed
fix: replace broken homogeneity workflow
1 parent 8081b3e commit d00d201

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/homogeneity-check.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,36 @@ on:
66

77
jobs:
88
check:
9-
name: Homogeneity Check (${{ matrix.os }})
9+
name: Agent Secret Scan (${{ matrix.os }})
1010
runs-on: ${{ matrix.os }}
1111
timeout-minutes: 10
1212

1313
strategy:
1414
matrix:
15-
os: [ubuntu-22.04, macos-14, windows-latest]
15+
os: [ubuntu-22.04, macos-14, windows-2022]
1616

1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
2020

2121
- name: Install ripgrep (Ubuntu)
2222
if: runner.os == 'Linux'
23-
run: sudo apt-get install -y ripgrep
23+
run: |
24+
sudo apt-get update
25+
sudo apt-get install -y ripgrep
2426
2527
- name: Install ripgrep (macOS)
2628
if: runner.os == 'macOS'
2729
run: brew install ripgrep
2830

29-
- name: Install ripgrep (Windows)
30-
if: runner.os == 'Windows'
31-
run: choco install ripgrep -y
32-
33-
- name: Run Homogeneity Check (Bash)
31+
- name: Run Agent Secret Scan (Bash)
3432
if: runner.os != 'Windows'
35-
run: bash scripts/check-homogeneity.sh $(basename "$GITHUB_WORKSPACE")
33+
run: bash scripts/scan-agent-secrets.sh --fail-on-high .
3634

37-
- name: Run Homogeneity Check (PowerShell)
35+
- name: Run Agent Secret Scan (PowerShell)
3836
if: runner.os == 'Windows'
3937
shell: pwsh
40-
run: pwsh scripts/check-homogeneity.ps1 -WorkspaceName (Split-Path $env:GITHUB_WORKSPACE -Leaf)
38+
run: |
39+
& "${env:GITHUB_WORKSPACE}/scripts/scan-agent-secrets.ps1" `
40+
-WorkspaceRoot "${env:GITHUB_WORKSPACE}" `
41+
-FailOnHigh

0 commit comments

Comments
 (0)