Skip to content

Bump actions/attest-build-provenance from 4.1.1 to 4.2.2 #130

Bump actions/attest-build-provenance from 4.1.1 to 4.2.2

Bump actions/attest-build-provenance from 4.1.1 to 4.2.2 #130

Workflow file for this run

name: Secret scan
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
gitleaks:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# Run the gitleaks binary directly. The gitleaks-action requires a paid
# license for organization repos; the binary is MIT-licensed and free.
- name: Install gitleaks
env:
GITLEAKS_VERSION: 8.30.1
run: |
curl -sSfL "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
sudo install /tmp/gitleaks /usr/local/bin/gitleaks
gitleaks version
- name: Scan working tree for secrets
run: gitleaks dir . --no-banner --redact --exit-code 1