12 lines
315 B
YAML
12 lines
315 B
YAML
name: BetterLeaks
|
|
on: [push, pull_request]
|
|
jobs:
|
|
scan:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker://ghcr.io/betterleaks/betterleaks:latest
|
|
with:
|
|
args: git --report-path findings.json .
|
|
- run: if [ -s findings.json ]; then exit 1; fi
|
|
|