Skip to content

Commit

Permalink
Merge pull request #7 from Thinkei/gitleaks/configuration
Browse files Browse the repository at this point in the history
Add gitleaks schedule workflow and precommit configuration files
  • Loading branch information
ehdieunguyen authored Aug 18, 2023
2 parents cbec3a5 + 9eedd74 commit af5f717
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/gitleaks-schedule-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is generate automatically by a platform tool
# You can modify the schedule but do not remove this file
# Please read more at https://employmenthero.atlassian.net/l/cp/uqVVmDT0
# The Gitleaks scanning report can be found at https://docs.google.com/spreadsheets/d/1ourHVLD7Hfs4PMpOsc7kKzjg104vvcPa8OtnkvRRRcc
name: gitleaks-schedule-scan

on:
schedule:
- cron: '41 16 * * 0'
workflow_dispatch:
jobs:
gitleaks:
uses: thinkei/eh-workflows/.github/workflows/gitleaks-schedule-scan.yml@main
secrets: inherit
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# please read more at https://employmenthero.atlassian.net/wiki/spaces/PLAT/pages/2570453361/Gitleaks#Local-scan-setup
# to make gitleaks scan your commit at local machine
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.17.0
hooks:
- id: gitleaks-docker

0 comments on commit af5f717

Please sign in to comment.