Skip to content

Update actions/setup-dotnet action to v4 #633

Update actions/setup-dotnet action to v4

Update actions/setup-dotnet action to v4 #633

Workflow file for this run

name: GitGuardian scan
on: [push, pull_request]
jobs:
scanning:
name: GitGuardian scan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch all history so multiple commits can be scanned
- name: GitGuardian scan
uses: GitGuardian/ggshield-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 }}
name: "GitGuardian Shield Action"
description: "Scan commits for secrets and other issues."

Check failure on line 24 in .github/workflows/gitguardian.yml

View workflow run for this annotation

GitHub Actions / GitGuardian scan

Invalid workflow file

The workflow is not valid. .github/workflows/gitguardian.yml (Line: 24, Col: 1): Unexpected value 'description' .github/workflows/gitguardian.yml (Line: 25, Col: 1): Unexpected value 'author'
author: GitGuardian <[email protected]>
inputs:
args:
description: |
Arguments to be passed to ggshield secret scan
Options:
--show-secrets Show secrets in plaintext instead of hiding them.
--exit-zero Always return a 0 (non-error) status code, even if issues
are found. The env var GITGUARDIAN_EXIT_ZERO can also be used
to set this option.
--all-policies Present fails of all policies (Filenames, FileExtensions,
Secret Detection). By default, only Secret Detection is
shown.
-v, --verbose Verbose display mode.
required: false
branding:
icon: "shield"
color: "blue"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.args }}