From e89857d769b084c9b82e88935960406a820a6566 Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Thu, 12 Nov 2026 09:19:11 +0000 Subject: [PATCH] ci: add daily govulncheck workflow Runs 'make vulncheck' on a cron schedule for main and release-0.2 branches, plus manual dispatch. This allows us to detect vulnerabilities daily, otherwise, we will notice only to the next PR where the check run, which might be unrelated to the vulnerability. Assisted-by: AI Signed-off-by: Alice Frosi --- .github/workflows/vulncheck.yaml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/vulncheck.yaml diff --git a/.github/workflows/vulncheck.yaml b/.github/workflows/vulncheck.yaml new file mode 100644 index 00000000..a3b31899 --- /dev/null +++ b/.github/workflows/vulncheck.yaml @@ -0,0 +1,35 @@ +name: Vulnerability check + +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +permissions: + contents: read + +jobs: + vulncheck: + name: vulncheck (${{ matrix.branch }}) + runs-on: ubuntu-latest + permissions: + contents: read + strategy: + fail-fast: false + matrix: + branch: [main, release-0.2] + steps: + - name: Checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ matrix.branch }} + persist-credentials: false + + - name: Set up Go + uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 + with: + go-version-file: go.mod + cache: true # zizmor: ignore[cache-poisoning] + + - name: Vulnerability check + run: make vulncheck