Back to Mise

`mise generate github-action`

docs/cli/generate/github-action.md

2026.8.12896 B
Original Source
<!-- @generated by usage-cli from usage spec -->

mise generate github-action

Generate a GitHub Action workflow file

This command generates a GitHub Action workflow file that runs a mise task like mise run ci when you push changes to your repository.

Flags

  • -t --task <TASK> — The task to run when the workflow is triggered

    Default: ci

  • -w --write — write to .github/workflows/$name.yml

  • --name <NAME> — the name of the workflow to generate

    Default: ci

  • -h --help — Print help

Examples:

mise generate github-action --write --task=ci
git commit -m "feat: add new feature"
git push # runs `mise run ci` on GitHub