diff --git a/.github/workflows/leak-test.yml b/.github/workflows/leak-test.yml index badd1efb..66c70908 100644 --- a/.github/workflows/leak-test.yml +++ b/.github/workflows/leak-test.yml @@ -6,9 +6,9 @@ name: leak-test # events but only for the master branch on: push: - branches: [ master ] + branches: [ master, dev ] pull_request: - branches: [ master ] + branches: [ master, dev ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -21,6 +21,8 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + with: + fetch-depth: '0' - name: Gitleaks - uses: zricethezav/gitleaks-action@v1.1.2 + uses: zricethezav/gitleaks-action@master