From 190a8b4d7ca1188c99efe191ac1e1a0f4c5a16d2 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Thu, 19 Dec 2024 00:51:29 -0800 Subject: [PATCH] Set up govulncheck for autosign --- .github/workflows/autosign-govulncheck.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/autosign-govulncheck.yml diff --git a/.github/workflows/autosign-govulncheck.yml b/.github/workflows/autosign-govulncheck.yml new file mode 100644 index 0000000..ec9a642 --- /dev/null +++ b/.github/workflows/autosign-govulncheck.yml @@ -0,0 +1,21 @@ +name: govulncheck + +on: + push: + branches: + - 'main' + paths: + - 'autosign/**' + workflow_dispatch: + +jobs: + govulncheck_job: + runs-on: ubuntu-latest + name: Run govulncheck + steps: + - id: govulncheck + uses: golang/govulncheck-action@v1 + with: + go-version-input: 1.20.6 + go-package: ./... + work-dir: autosign