cbrgm/mastodon-send

Send toots (messages) to a Mastodon instance from GitHub Actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: cbrgm/mastodon-github-action@ac2d8e8c9986a17b824dd12dd9df4ce5fcd813c1 # v2.2.2

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

namedescriptionrequireddefault
urlMastodon instance URLyes
access-tokenMastodon access token for authenticationyes
messageThe content of the toot. Optional if media-paths is provided.no
visibilityVisibility of the toot (public, unlisted, private, direct)nopublic
sensitiveMark the toot and attached media as sensitivenofalse
spoiler-textText to be shown as a warning before the actual contentno
languageISO 639 language code for the tootno
scheduled-atISO 8601 Datetime to schedule the toot. Must be at least 5 minutes in the futureno
media-pathsComma-separated list of media file paths to attach (max 4). Supported: images, video, audio.no
media-descriptionsComma-separated list of alt text descriptions for media files. If one value is provided, it applies to all.no
namedescription
idThe id of the toot posted
urlThe url to the toot if present
scheduled_atThe datetime at which to post the status if present