Skip to content

securesauce/precli-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Precaution Analysis Action

Analyze your source code using Precaution via precli.

Usage

Here is a minimal complete example to create a Code Scanning action using Precaution.

name: Precaution

on:
  workflow_dispatch:

jobs:
  analyze:
    runs-on: ubuntu-latest
    permissions:
      # required for all workflows
      security-events: write
      # only required for workflows in private repositories
      actions: read
      contents: read
    steps:
      - name: Perform Precaution Analysis
        uses: securesauce/precli-action@v1

Inputs

path

Optional The source file(s) or directory(s) to be analyzed

Default "."

disable

Optional A comma-separated list of rule IDs or names to disable

Default "DEFAULT"