VeryGoodOpenSource / VeryGoodOpenSource/very_good_workflows

feat: Reusable workflow for monorepo with matrix of jobs

Open
#355 0 comments 2 reactions 1 assignee View on GitHub

@ryzizub is already working on this.

Since Aug 29, 2025.

feature
Dominant language
JavaScript
Stars
335
Forks
89
Avg merge
17h 19m
Merged PRs (30d)
20

Description

Description

Add a workflow that can be integrated into Dart/Flutter repositories. When triggered, it scans the repository and runs the same checks on every package it finds.

Steps:

  • Scan the repository and list all packages.
  • Identify which packages need to be tested and generate a job matrix.
  • Run verifications (e.g., tests, analysis).

The workflow should also be customizable per package—for example, allowing different coverage thresholds.

Note:
This workflow should only run the core steps for each package. If a package has additional checks, those should be defined in a separate workflow.

Goals:

  • Avoid creating a new workflow file for each package.
  • Simplify maintenance of core checks.
  • Ensure the same checks are enforced for newly added packages.
Requirements
  • All CI/CD checks are passing.
  • There is no drop in the test coverage percentage.
Additional Context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.