Skip to content

Add Gitleaks

Add Gitleaks #11

Workflow file for this run

---
name: update-gitleaks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
update-gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v3.7.0
if: github.event_name != 'pull_request' || github.event.action != 'closed'
- uses: dev-hato/actions-update-gitleaks@v0.0.48
with:
github-token: ${{secrets.GITHUB_TOKEN}}
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true