mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 01:32:33 +00:00
Stop running fips tests on PRs (#23664)
* Stop running fips tests on PRs: we expect fips-specific failures to be rare enough that it's not worth the cost. * Allow PRs with the label "fips" to run fips tests.
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -147,12 +147,13 @@ jobs:
|
|||||||
|
|
||||||
test-go-fips:
|
test-go-fips:
|
||||||
name: Run Go tests with FIPS configuration
|
name: Run Go tests with FIPS configuration
|
||||||
# Only run this job for the enterprise repo if the PR is not docs/ui only
|
# Only run fips on the enterprise repo, and only if it's main or a release branch
|
||||||
|
# (i.e. not a PR), or is a PR with the label "fips"
|
||||||
if: |
|
if: |
|
||||||
github.event.pull_request.draft == false &&
|
|
||||||
needs.setup.outputs.enterprise == 1 &&
|
needs.setup.outputs.enterprise == 1 &&
|
||||||
needs.verify-changes.outputs.is_docs_change == 'false' &&
|
needs.verify-changes.outputs.is_docs_change == 'false' &&
|
||||||
needs.verify-changes.outputs.is_ui_change == 'false'
|
needs.verify-changes.outputs.is_ui_change == 'false' &&
|
||||||
|
(contains(github.event.pull_request.labels.*.name, 'fips') || github.ref_name == 'main' || startsWith(github.ref_name, 'release/'))
|
||||||
needs:
|
needs:
|
||||||
- setup
|
- setup
|
||||||
- verify-changes
|
- verify-changes
|
||||||
|
|||||||
Reference in New Issue
Block a user