fix(ci): use ubuntu-latest container for gitleaks scan
Switch Gitleaks job to docker container execution to satisfy actions/checkout Node.js dependency.
This commit is contained in:
parent
97df70a53f
commit
1330f04308
|
|
@ -15,13 +15,12 @@ jobs:
|
||||||
|
|
||||||
gitleaks-scan:
|
gitleaks-scan:
|
||||||
name: Secret Detection (Gitleaks)
|
name: Secret Detection (Gitleaks)
|
||||||
runs-on: host
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch Code
|
- name: Check Out Code
|
||||||
run: |
|
uses: actions/checkout@v3
|
||||||
git config --global --add safe.directory "$PWD"
|
with:
|
||||||
git fetch --all
|
fetch-depth: 0
|
||||||
git checkout $GITEA_SHA
|
|
||||||
|
|
||||||
- name: Run Gitleaks Scan
|
- name: Run Gitleaks Scan
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue