Skip to content

Merge pull request #1 from crystaldelta/feat/github-workflows #2

Merge pull request #1 from crystaldelta/feat/github-workflows

Merge pull request #1 from crystaldelta/feat/github-workflows #2

name: Secret Detection
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- 'master'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
scan:
name: Secret Detection
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 #v2
name: Secret Detection
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}