Skip to content

Commit

Permalink
add schedule runs in readme and in repo testing
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav committed Sep 12, 2022
1 parent 0fd1e83 commit 5425999
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gitleaks-action-HEAD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
pull_request:
push:
workflow_dispatch:
# schedule:
# - cron: "*/5 * * * *"
schedule:
- cron: "0 4 * * *" # run once a day at 4 AM
jobs:
scan:
name: gitleaks-action-HEAD
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@ By buying a `GITLEAKS_LICENSE` to use v2, you are supporting the gitleaks projec

```yml
name: gitleaks
on: [pull_request, push, workflow_dispatch]
on:
pull_request:
push:
workflow_dispatch:
schedule:
- cron: "0 4 * * *" # run once a day at 4 AM
jobs:
scan:
name: gitleaks
Expand Down

0 comments on commit 5425999

Please sign in to comment.