Skip to content

Fix background start falsely reporting success when the server fails to start #752

Fix background start falsely reporting success when the server fails to start

Fix background start falsely reporting success when the server fails to start #752

Workflow file for this run

name: trivy
on:
push:
branches:
- main
pull_request:
jobs:
job-trivy:
name: Run trivy for license check
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out source code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: go.mod
- name: Run trivy
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # 0.36.0
with:
scan-type: 'fs'
scanners: 'license'
target: '.'
format: 'table'
exit-code: '1'
severity: 'UNKNOWN,MEDIUM,HIGH'