Skip to content

Commit

Permalink
Add actions for vulnerability scans
Browse files Browse the repository at this point in the history
  • Loading branch information
g-gaston committed Oct 26, 2023
1 parent 76d57f2 commit 99c340c
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/vulnerability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Vulnerability scan"
on:
push:
tags:
- v*
branches:
- main
pull_request:
workflow_dispatch:
schedule:
# every day at 7am UTC
- cron: '0 7 * * *'
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
show-progress: false
- name: "Dependency Review"
uses: actions/dependency-review-action@v3
govulncheck:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
show-progress: false
- name: govulncheck
uses: golang/govulncheck-action@v1
with:
repo-checkout: false
go-version-file: go.mod
- name: govulncheck for release module
uses: golang/govulncheck-action@v1
with:
repo-checkout: false
work-dir: release
go-version-file: release/go.mod

0 comments on commit 99c340c

Please sign in to comment.