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
- Enhanced Visibility Control: Alongside the existing
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 Content Handling: Mark toots as sensitive with the new
sensitive
input, protecting viewers from potential spoilers or sensitive material. - Spoiler Text Addition: Accompany sensitive toots with
spoiler-text
, providing a content warning that precedes the main message. - Language Specification: Define the toot's language with the
language
input, aiding in content categorization and enhancing accessibility. - Scheduled Toots: Plan your communications by scheduling toots for future publication using the
scheduled-at
input, formatted in ISO 8601 for precision and clarity.
Improved Outputs for Enhanced Integrations
- Outputs have been expanded to include
id
,url
, andscheduled_at
of the posted toot, facilitating further actions or integrations within your workflows.
Container Support
- v2 can be executed independently within a container, offering greater flexibility for different CI/CD setups:
podman run --rm -it ghcr.io/cbrgm/mastodon-github-action:v2 --help
.
Go Enhancements
- The action is now backed by Go
What's Changed
- deps: update javascript dependencies, trim message content in case it's too long by @cbrgm in #1
- docs(readme): add link to usage examples by @cbrgm in #3
- chore(deps): update dependencies by @cbrgm in #4
- chore(deps-dev): bump eslint from 8.31.0 to 8.33.0 by @dependabot in #7
- chore(deps-dev): bump @vercel/ncc from 0.36.0 to 0.36.1 by @dependabot in #5
- chore(deps-dev): bump prettier from 2.8.2 to 2.8.3 by @dependabot in #8
- chore(deps-dev): bump prettier from 2.8.3 to 2.8.4 by @dependabot in #9
- chore(deps-dev): bump eslint from 8.33.0 to 8.35.0 by @dependabot in #10
- chore(deps): bump masto from 5.2.0 to 5.10.0 by @dependabot in #11
- chore(deps-dev): bump prettier from 2.8.4 to 2.8.7 by @dependabot in #12
- chore(deps-dev): bump eslint from 8.35.0 to 8.37.0 by @dependabot in #13
- chore(deps-dev): bump eslint from 8.37.0 to 8.39.0 by @dependabot in #15
- chore(deps): bump masto from 5.10.0 to 5.11.2 by @dependabot in #16
- chore(deps-dev): bump prettier from 2.8.7 to 2.8.8 by @dependabot in #14
- chore(deps): bump masto from 5.11.2 to 5.11.3 by @dependabot in #18
- chore(deps-dev): bump eslint from 8.39.0 to 8.41.0 by @dependabot in #17
- chore(deps-dev): bump eslint from 8.41.0 to 8.44.0 by @dependabot in #19
- chore(deps): bump masto from 5.11.3 to 6.0.4 by @dependabot in #22
- chore(deps-dev): bump eslint from 8.44.0 to 8.46.0 by @dependabot in #21
- chore(deps-dev): bump prettier from 2.8.8 to 3.0.0 by @dependabot in #20
- chore(deps): bump masto from 6.0.4 to 6.2.0 by @dependabot in #23
- chore(deps-dev): bump prettier from 3.0.0 to 3.0.3 by @dependabot in #24
- chore(deps-dev): bump eslint from 8.46.0 to 8.48.0 by @dependabot in #25
- chore(deps): bump masto from 6.2.0 to 6.3.1 by @dependabot in #26
- chore(deps): bump @actions/core from 1.10.0 to 1.10.1 by @dependabot in #27
- chore(deps-dev): bump eslint from 8.48.0 to 8.50.0 by @dependabot in #29
- chore(deps-dev): bump @vercel/ncc from 0.36.1 to 0.38.0 by @dependabot in #28
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #30
- chore(deps-dev): bump @vercel/ncc from 0.38.0 to 0.38.1 by @dependabot in #32
- chore(deps): bump masto from 6.3.1 to 6.4.0 by @dependabot in #33
- chore(deps-dev): bump eslint from 8.50.0 to 8.53.0 by @dependabot in #35
- chore(deps-dev): bump prettier from 3.0.3 to 3.1.0 by @dependabot in #36
- chore(deps): bump masto from 6.4.0 to 6.5.1 by @dependabot in #38
- chore(deps-dev): bump eslint from 8.53.0 to 8.54.0 by @dependabot in #37
- chore(deps-dev): bump prettier from 3.1.0 to 3.1.1 by @dependabot in #39
- chore(deps-dev): bump eslint from 8.54.0 to 8.56.0 by @dependabot in #40
- chore(deps): bump masto from 6.5.1 to 6.5.2 by @dependabot in #41
- chore(deps-dev): bump prettier from 3.1.1 to 3.2.4 by @dependabot in #42
- feat: introducing Mastodon Send GitHub Action v2: Enhanced Features and Customizations by @cbrgm in #43
New Contributors
- @cbrgm made their first contribution in #1
- @dependabot made their first contribution in #7
Full Changelog: https://github.com/cbrgm/mastodon-github-action/commits/v2.0.0