Skip to content

safedep/vet-action

Repository files navigation

vet GitHub Action

GitHub Super-Linter CI Check dist/ CodeQL Coverage

vet is a tool for finding security risks in OSS components. For more details, refer to vet GitHub repository https://github.com/safedep/vet

Usage

Follow setup instructions for step by step guide on how to integrate vet in your GitHub repository with customizable policies

Quick Start

Follow quickstart if you want to integrate vet as a step in your existing GitHub actions workflow

TLDR; add this GitHub action to vet your changed dependencies during pull request

- name: Run vet
  permissions:
    contents: read
    issues: write
    pull-requests: write
  uses: safedep/vet-action@v1
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Setup Instructions

Follow this instruction to integrate vet as a GitHub action in your GitHub repository

  • Go to the root directory of your GitHub repository
  • Create the workflow and policy directory
mkdir -p .github/workflows .github/vet
  • Download the policy file into the policy directory
curl -o .github/vet/policy.yml -L https://raw.githubusercontent.com/safedep/vet-action/main/example/policy.yml
  • Download vet GitHub Action workflow
curl -o .github/workflows/vet-ci.yml -L https://raw.githubusercontent.com/safedep/vet-action/main/example/vet-ci.yml
  • Review the policy file in .github/vet/policy.yml and edit as required
  • Push / PR your changes into the repository

Support

Development

Refer to development documentation

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published