Skip to content

Commit

Permalink
Fix CircleCI status check error when skipping circleci jobs (#10434)
Browse files Browse the repository at this point in the history
* Test error when skipping circleci jobs

* Dummy circleci job

* Run no-changes always
  • Loading branch information
jcortejoso authored Jul 19, 2023
1 parent 4aa65cd commit 504732d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 504732d

Please sign in to comment.