From 6265ca0e77df481d0e24fbc6ec1d286d4eb72cb9 Mon Sep 17 00:00:00 2001 From: Niall Byrne Date: Thu, 14 Jan 2021 14:55:58 -0500 Subject: [PATCH] add workflow runs both for a config file and without --- .github/workflows/gitleaks.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index 1b1eb0d..ef2f07a 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -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