Skip to content

add job id to cache index #28

add job id to cache index

add job id to cache index #28

Workflow file for this run

name: Scan for secrets
on:
workflow_dispatch:
push:
jobs:
secret_scan:
name: Secret scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install GitLeaks
run: |
wget https://github.com/gitleaks/gitleaks/releases/download/v8.16.1/gitleaks_8.16.1_linux_x64.tar.gz && \
tar -xf gitleaks_8.16.1_linux_x64.tar.gz
sudo mv gitleaks /usr/local/bin/gitleaks && \
sudo chmod +x /usr/local/bin/gitleaks
- name: Run GitLeaks Scan
run: |
gitleaks detect --source . -v