bluefireteam/Melos action

Setup Melos for you GitHub workflow

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 22, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bluefireteam/melos-action@2982f8e4fc92440a219490009d6d05195cb1a6a5 # v3.8.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
melos-versionThe Melos version to make available on the pathno
dart-versionThe dart version to pass to dart-lang/setup-dart action used for publishing, this helps to avoid race condition when having flutter SDK setup with the version different from the latest dart. If 'none' is passed in, the action doesn't set up the dart version at all.nostable
run-bootstrapWhether bootstrap should run or not (default: true)notrue
bootstrap-no-exampleWhether to pass the --no-example flag to melos bootstrap, this helps to avoid race conditions in flutter packages, where pub get can be executed on the example project before melos has had a chance to generate its pubspec_overrides.yaml (default: false)nofalse
enforce-lockfileWhether the versions in the lockfiles should be enforced (default: false)nofalse
run-versioningWhether packages should be versioned (default: false)nofalse
run-versioning-prereleaseWhether packages should be versioned as a prerelease (default: false)nofalse
run-versioning-graduateWhether packages should be versioned with graduating prereleases to stable (default: false)nofalse
include-privateWhether to include or exclude packages with `publish_to: "none"` (default: false)nofalse
publish-dry-runWhether packages should be dry-run published (default: false)nofalse
tagWhether packages should be tagged and pushed to the repository (default: false)nofalse
publishWhether packages should be published to pub.dev (default: false)nofalse
create-releaseWhether a GitHub release should be created for the package related to the tag that triggered the workflow. The release notes are extracted from the package's CHANGELOG.md for the released version (default: false)nofalse
release-prereleaseWhether the created GitHub release should be marked as a prerelease. By default this is detected automatically from the version (any version containing a `-`, e.g. `1.2.3-dev.1`, is treated as a prerelease)noauto
create-prWhether a PR should be created with the versioning changes (default: false)nofalse
pr-titleThe title to use for the PR created when `create-pr` is true (default: "chore(release): Publish packages")nochore(release): Publish packages
pr-bodyThe body to use for the PR created when `create-pr` is true (default: "Prepared all packages to be released to pub.dev")noPrepared all packages to be released to pub.dev
tokenToken to use when creating the PR. Use a PAT or GitHub App token to trigger workflows on the created PR (default: GITHUB_TOKEN)no${{ github.token }}
git-emailThe email to use when committing changesnogithub-actions[bot]@users.noreply.github.com
git-nameThe name to use when committing changesnogithub-actions[bot]

no outputs