1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 16:25:31 -04:00

add gitguardian action

This commit is contained in:
2021-08-08 09:38:37 -04:00
parent 1b46172a77
commit b7628fca4a
3 changed files with 30 additions and 11 deletions

View File

@@ -37,3 +37,18 @@ jobs:
- run: yarn percy
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: GitGuardian scan
uses: GitGuardian/gg-shield-action@master
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: ${ secrets.GITGUARDIAN_API_KEY }}