feat: introducing Mastodon Send GitHub Action v2: Enhanced Features and Customizations #43
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The Mastodon Send GitHub Action has been upgraded to v2, introducing a suite of enhancements and new features aimed at providing a more versatile and user-friendly experience for automating Mastodon toots via GitHub Actions. Building on the solid foundation of v1, this latest version extends functionality while maintaining ease of use and flexibility in integrating Mastodon into your CI/CD pipelines.
What's New in v2
Extended Input Parameters
public
,unlisted
,private
, anddirect
visibility options, v2 defaults topublic
if no visibility is specified, ensuring your messages reach the audience you intend without extra configuration.sensitive
input, protecting viewers from potential spoilers or sensitive material.spoiler-text
, providing a content warning that precedes the main message.language
input, aiding in content categorization and enhancing accessibility.scheduled-at
input, formatted in ISO 8601 for precision and clarity.Improved Outputs for Enhanced Integrations
id
,url
, andscheduled_at
of the posted toot, facilitating further actions or integrations within your workflows.Container Support
podman run --rm -it ghcr.io/cbrgm/mastodon-github-action:v2 --help
.GoLang Enhancements
Simplified Workflow Configuration
Workflow Usage Example