Skip to content

feat: add a reader fold-state source (R816) #1542

feat: add a reader fold-state source (R816)

feat: add a reader fold-state source (R816) #1542

Workflow file for this run

name: gitleaks
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
gitleaks:
name: gitleaks
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# gitleaks computes pull_request scan ranges from the PR head history.
# Checking out the head SHA avoids missing-range failures when queued
# PR jobs run after merge or branch cleanup.
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}