Skip to content

Commit

Permalink
CI: don't block on govulncheck, do block on vendorcheck (#7155)
Browse files Browse the repository at this point in the history
Having govulncheck prevent a PR from merging means that circumstances
entirely outside our control can grind Boulder development to a halt
until they are addressed. When the vulnerability is within Go itself, it
prevents PRs from being merged until we do a production deploy, because
we want our CI to always match what is in production. This is too
strict.

This PR removes govulncheck from the set of jobs depended upon by our
Boulder CI Test Matrix meta-job. It also adds vendorcheck, which was
accidentally omitted in #7123.
  • Loading branch information
aarongable authored Nov 13, 2023
1 parent 75439ea commit dc2ef15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/boulder-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ jobs:
# above jobs have failed and fail if so. It is needed so there can be
# one static job name that can be used to determine success of the job
# in GitHub branch protection.
# It does not block on the result of govulncheck so that a new vulnerability
# disclosure does not prevent any other PRs from being merged.
boulder_ci_test_matrix_status:
permissions:
contents: none
Expand All @@ -158,8 +160,8 @@ jobs:
name: Boulder CI Test Matrix
needs:
- b
- govulncheck
- vendorcheck
steps:
- name: Check boulder ci test matrix status
if: ${{ needs.b.result != 'success' || needs.govulncheck.result != 'success' }}
if: ${{ needs.b.result != 'success' || needs.vendorcheck.result != 'success' }}
run: exit 1

0 comments on commit dc2ef15

Please sign in to comment.