Skip to content

Update CI/CD

Update CI/CD #164

---
name: GitGuardian scan
on: # yamllint disable-line rule:truthy
push:
pull_request:
workflow_dispatch:
jobs:
scanning:
name: GitGuardian scan
runs-on: ubuntu-24.04
steps:
- name: Checkout
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 }}