Skip to content

ci: Move govulncheck to nightly and push to main triggers #782

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,23 +256,3 @@ jobs:
name: Delete chart-testing KinD cluster
run: |
devbox run -- make kind.delete

govulncheck:
runs-on: ubuntu-22.04
strategy:
matrix:
module: [api, common, .]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install devbox
uses: jetify-com/[email protected]
with:
enable-cache: true

- id: govulncheck
run: devbox run -- make govulncheck.${{ matrix.module }}
36 changes: 36 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 2023 Nutanix. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

name: govulncheck

on:
push:
branches:
- main
schedule:
- cron: '0 0 * * *'

permissions:
contents: read

defaults:
run:
shell: bash
jobs:
govulncheck:
runs-on: ubuntu-22.04
strategy:
matrix:
module: [api, common, .]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install devbox
uses: jetify-com/[email protected]
with:
enable-cache: true

- id: govulncheck
run: devbox run -- make govulncheck.${{ matrix.module }}
Loading