Skip to content

mise tasks: check that the workflow runs the required tasks (mise run <task>) #679

Description

@Exypte

Is your feature request related to a problem? Please describe.

Part of #254, split out of #678 (Thomas's feedback, point 2).

mise.tasks.required only checks that the required tasks are declared in the mise project. A repository can declare lint and test and never run them in CI, and the check stays green.

Describe the solution you'd like

An option on the tasks check that also checks the workflow runs each required task with mise run <task>.

It applies to the required tasks only, not to every declared task. Repositories usually declare dev-only tasks that CI never runs.

Configuration in .plumber.yaml

A sketch. The key name and defaults are decided during implementation.

mise:
  tasks:
    enabled: true
    required: [lint, test]
    mustRunInWorkflow: true

Implementation Hints

The open question is how to tell that a job runs a task. Cases to settle:

  • Where to look: GitLab script / before_script / after_script, GitHub run steps, and jdx/mise-action.
  • How the task is called: mise run <task>, mise r <task>, the mise <task> shorthand, flags between run and the task name, several tasks in one call.
  • Task aliases and task dependencies (depends): does running ci that depends on lint count as running lint?
  • A task run from a script the job calls (./ci.sh) can't be seen statically. Decide whether that is a finding or not evaluated.

This needs a new code, added after the codes listed in #678.

Why It's Valuable

Declaring a task proves nothing if CI never runs it. Without this option, required can't show that lint or tests actually gate the pipeline.

Activity

  1. added theissue type on Dec 2, 2026
  2. self-assigned this
    on Dec 3, 2026
  3. Exypte commented on Dec 3, 2026

    @Exypte
    ContributorAuthor

    I'm working on this one, a PR is on the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions