Skip to content

Release 0.1.6

Release 0.1.6 #8

Workflow file for this run

name: Security
# Gitleaks: use the MIT CLI binary (not gitleaks-action@v2).
# The action wrapper requires GITLEAKS_LICENSE for GitHub organization repos
# (DevoteamSP), even public ones. The CLI itself does not.
#
# CodeQL is omitted: private org repos need GitHub Advanced Security to upload
# results; without a GHAS license the analyze step fails as a configuration error.
on:
schedule:
- cron: "0 6 * * 1" # every Monday at 06:00 UTC
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
env:
GITLEAKS_VERSION: "8.30.1"
jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install gitleaks
run: |
set -euo pipefail
curl -sSL \
"https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \
-o /tmp/gitleaks.tgz
tar -xzf /tmp/gitleaks.tgz -C /tmp gitleaks
sudo install /tmp/gitleaks /usr/local/bin/gitleaks
gitleaks version
- name: Scan for secrets
run: gitleaks git --verbose --redact --exit-code 1 .
pip-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: .python-version
- uses: astral-sh/setup-uv@v3
- run: uv sync --extra dev
- run: uv run pip-audit
continue-on-error: true