Files
pmg/.github/workflows/secret_scan.yml
T
Sahil BansalandGitHub 296d5e52e1 chore: Update GHA actions to Node.js 24 (#231)
* update gha to use node24

* add environment approval for PMG release
2026-04-30 07:52:44 +05:30

30 lines
882 B
YAML

name: Secrets Scan
on:
pull_request:
branches:
- main
# PRs share a concurrency group (cancel/serialize); Pushes use unique groups to avoid cancellation/queuing
concurrency:
group: ${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.ref) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
trufflehog:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout Source
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
fetch-depth: "0"
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@8b6f55b592e46ac44a42dc3e3dee0ebcc0f56df5
with:
path: ./
base: ${{ github.event.pull_request.base.sha }}
head: ${{ github.event.pull_request.head.sha }}