ci: Download gitleaks binary, use python3 -m pip for flawfinder
Some checks failed
Lint & Security / C/C++ Static Analysis (push) Failing after 1s
Lint & Security / Security Flaw Analysis (push) Failing after 2s
Lint & Security / Secret Scanning (push) Successful in 1s
Lint & Security / Shell Script Analysis (push) Successful in 1s

This commit is contained in:
user
2026-02-05 12:08:17 +01:00
parent 9430832dfc
commit 7b9f0b9242

View File

@@ -34,11 +34,9 @@ jobs:
git clone --depth=1 --branch=${{ github.ref_name }} \ git clone --depth=1 --branch=${{ github.ref_name }} \
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git .
- name: Install flawfinder - name: Install and run flawfinder
run: pip install --user flawfinder
- name: Run flawfinder
run: | run: |
python3 -m pip install --user flawfinder
~/.local/bin/flawfinder --minlevel=2 --error-level=4 \ ~/.local/bin/flawfinder --minlevel=2 --error-level=4 \
get-started/csi_recv_router/main/ get-started/csi_recv_router/main/
@@ -51,8 +49,13 @@ jobs:
git clone --branch=${{ github.ref_name }} \ git clone --branch=${{ github.ref_name }} \
https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git .
- name: Run gitleaks - name: Install and run gitleaks
run: gitleaks detect --source . --verbose --redact run: |
GITLEAKS_VERSION="8.18.4"
curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \
-o /tmp/gitleaks.tar.gz
tar -xzf /tmp/gitleaks.tar.gz -C /tmp gitleaks
/tmp/gitleaks detect --source . --verbose --redact
shellcheck: shellcheck:
name: Shell Script Analysis name: Shell Script Analysis