Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gitleaks schedule workflow and precommit configuration files #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: '36 2 * * 1'
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.16.1
hooks:
- id: gitleaks-docker