From 504732dfdbc22eaa944c36d59ff1715164dec393 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Wed, 19 Jul 2023 18:15:52 +0200 Subject: [PATCH] Fix CircleCI status check error when skipping circleci jobs (#10434) * Test error when skipping circleci jobs * Dummy circleci job * Run no-changes always --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 666206e3475..0c8b1b75533 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -896,6 +896,15 @@ jobs: name: Add summary of flakey tests to GitHub Checks command: | node ./packages/flake-tracker/scripts/summary.js + + # Dummy job for not showing CircleCI error: "Error: All Workflows have been filtered from this Pipeline" + # Check https://github.com/CircleCI-Public/circleci-cli/issues/577 for more context + noop: + docker: + - image: cimg/base:current + resource_class: small + steps: + - run: echo "noop" workflows: version: 2 @@ -1042,3 +1051,8 @@ workflows: - protocol-test-with-code-coverage: requires: - lint-checks + # Dummy job for not showing CircleCI error: "Error: All Workflows have been filtered from this Pipeline" + # Check https://github.com/CircleCI-Public/circleci-cli/issues/577 for more context + no-changes: + jobs: + - noop