Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Vulnerability Scan

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 2 1 * *' # Run at 2 AM on the 1st of every month
workflow_dispatch: # Allow manual triggering

permissions:
contents: read
security-events: write

jobs:
vulnerability-scan:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- name: Check out code
uses: actions/checkout@v5
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: Run govulncheck
uses: golang/govulncheck-action@v1
with:
go-package: ./...
Loading