Skip to content

add zizmor static analyzer #1212

add zizmor static analyzer

add zizmor static analyzer #1212

Workflow file for this run

name: gitleaks
permissions: {}
on:
pull_request: {}
push:
branches: [master, v3.dev]
env:
ALLOWED_ENDPOINTS: >
api.github.com:443
github.com:443
objects.githubusercontent.com:443
jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: ${{ env.ALLOWED_ENDPOINTS }}
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
persist-credentials: false
- name: Run gitleaks
uses: gitleaks/gitleaks-action@83373cf2f8c4db6e24b41c1a9b086bb9619e9cd3 # v2.3.7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}