Skip to content

Commit

Permalink
add workflow runs both for a config file and without
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Jan 14, 2021
1 parent 63a250f commit 6265ca0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: gitleaks

on: [push,pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: gitleaks-action
uses: zricethezav/gitleaks-action@master
- uses: actions/checkout@v1
- name: gitleaks-action with defaults
uses: zricethezav/gitleaks-action@master
- name: gitleaks-action with config
uses: zricethezav/gitleaks-action@master
with:
config-path: .gitleaks.yml

0 comments on commit 6265ca0

Please sign in to comment.