This action comments the GoSec issues of a pull request right into the diff, to give enhanced visibility to them.
Required The directory to check with GoSec. Default ./...
Should this action fail when GoSec finds an issue. Default true
None yet
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: falseOr check out https://github.com/Luiggi33/gosec-enhanced-example