Skip to content

Inline Chocolatey release tag guard #447

Inline Chocolatey release tag guard

Inline Chocolatey release tag guard #447

Workflow file for this run

# Gitleaks: secret scanning on push/PR (blocks accidental token commits).
# https://github.com/gitleaks/gitleaks
name: Gitleaks
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
scan:
runs-on: [self-hosted, Linux, X64, iptvtunerr]
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Install Gitleaks
run: bash scripts/install-ci-tools.sh gitleaks
- name: Run Gitleaks
run: |
tmp="$(mktemp -d)"
trap 'rm -rf "$tmp"' EXIT
git archive HEAD | tar -x -C "$tmp"
gitleaks dir "$tmp" --redact --verbose