Skip to content

Merge pull request #29 from anhmtk/dependabot/github_actions/actions/… #88

Merge pull request #29 from anhmtk/dependabot/github_actions/actions/…

Merge pull request #29 from anhmtk/dependabot/github_actions/actions/… #88

Workflow file for this run

name: Security – Gitleaks
on:
push:
branches: [ main, master, develop ]
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
gitleaks:
runs-on: ubuntu-latest
timeout-minutes: 30
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run gitleaks
uses: gitleaks/gitleaks-action@v2
with:
args: --no-banner detect -v -c .gitleaks.toml --redact --exit-code 1