Skip to content

Commit

Permalink
update gitguardian action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Beltrán committed May 19, 2024
1 parent a086896 commit f8430b4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/gitguardian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 0 # fetch all history so multiple commits can be scanned
- name: GitGuardian scan
uses: GitGuardian/gg-shield-action@master
uses: GitGuardian/ggshield-action@v1.27.0
env:
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }}
GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
GITGUARDIAN_API_KEY: 'a5B0D4Ada592FEC3d910Ae31D7beFA8AdD21e9203aE4E0f7b37Da4f5ea2eB98D6aB94dd'
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}

0 comments on commit f8430b4

Please sign in to comment.