From d26095a12ba39eee00017de2bf1f153cd46f2edb Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Thu, 4 Jul 2024 17:40:05 +0530 Subject: [PATCH] ci: add kubsec ci check this commit adding kubesec github action ci check Signed-off-by: subhamkrai --- .github/workflows/lint.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a7204167..31e0142b 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -74,3 +74,16 @@ jobs: go-version-file: go.mod - name: govulncheck uses: golang/govulncheck-action@v1 + + kubsec: + name: kubsec + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - name: Run kubesec scanner + uses: controlplaneio/kubesec-action@master