Skip to content

About

A GitHub action to provider more visibility for GoSec issues inside of pull requests

Resources

Stars

0 stars

Watchers

1 watching

Forks

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

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

GoSec Enhanced Pull Requests Action

This action comments the GoSec issues of a pull request right into the diff, to give enhanced visibility to them.

Inputs

dir

Required The directory to check with GoSec. Default ./...

failOnIssue

Should this action fail when GoSec finds an issue. Default true

Outputs

None yet

Example usage

on:
  pull_request:

jobs:
  run_action:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Run gosec action
        uses: ./
        with:
          dir: ./exampleGoCode/...
          failOnIssue: false

Or check out https://github.com/Luiggi33/gosec-enhanced-example

About

A GitHub action to provider more visibility for GoSec issues inside of pull requests

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages