From 4a809f82a5ed0ddbd52175fb759d0d3acc572f8e Mon Sep 17 00:00:00 2001 From: Jesse David Peterson Date: Tue, 26 May 2026 11:49:59 -0300 Subject: [PATCH] Tests: Make frontend test coverage CI check optional according to policy-bot (#125445) fix(ci): make frontend test coverage check optional in policy-bot --- .policy.yml | 1 + Makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.policy.yml b/.policy.yml index 7b31591cda4..9172e0a9fe2 100644 --- a/.policy.yml +++ b/.policy.yml @@ -151,6 +151,7 @@ approval_rules: conclusions: - skipped - success + - failure workflows: - .github/workflows/check-frontend-test-coverage.yml - name: Workflow .github/workflows/codeowners-validator.yml succeeded or skipped diff --git a/Makefile b/Makefile index 6e351ce428b..23965cffce0 100644 --- a/Makefile +++ b/Makefile @@ -851,3 +851,5 @@ GENERATE_POLICY_BOT_CONFIG_SHA := sha256:d05ff5c7d4247da155c85f8c6f1f9f7c6d013d1 sed -i.bak '/- Workflow \.github\/workflows\/create-security-patch-from-security-mirror/d' .policy.yml; rm -f .policy.yml.bak # Make govulncheck non-blocking - accept failure so it doesn't prevent merge sed -i.bak '/name: Workflow \.github\/workflows\/govulncheck\.yml/,/workflows:/{s/- success/- success\n - failure/;}' .policy.yml; rm -f .policy.yml.bak +# Make check-frontend-test-coverage non-blocking - accept failure so it doesn't prevent merge + sed -i.bak '/name: Workflow \.github\/workflows\/check-frontend-test-coverage\.yml/,/workflows:/{s/- success/- success\n - failure/;}' .policy.yml; rm -f .policy.yml.bak