diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000..116d2dd --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,21 @@ +name: Security Scan + +on: + schedule: + # Every Monday at 1PM UTC + - cron: "0 13 * * 1" + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + vulncheck: + name: Scan for vulnerabilities in Go code + runs-on: ubuntu-latest + steps: + - name: govulncheck + uses: golang/govulncheck-action@v1 + with: + go-version-input: 1.19 + go-package: ./...