Skip to content

feat: add dependabot configuration for gomod and github-actions (#3) #4

feat: add dependabot configuration for gomod and github-actions (#3)

feat: add dependabot configuration for gomod and github-actions (#3) #4

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
- 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: ./...