Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post on mastodon when releasing a new version #3509

Merged
merged 4 commits into from
Mar 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .woodpecker/social.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
depends_on:
- docker
- binaries

when:
- event: tag

steps:
mastodon-toot:
image: docker.io/woodpeckerci/plugin-mastodon-post
settings:
server: https://floss.social
access_token:
from_secret: mastodon_token
visibility: public
ai_token:
from_secret: openai_token
ai_prompt: |
We want to present the next version of our app on Twitter.
Therefore we want to post a catching text, so users will know why they should
update to the newest version. If there is no special feature included
just summarize the changes in a few sentences. Use #WoodpeckerCI, #release and
additional fitting hashtags and emojis to make the post more appealing.

The changelog entry: {{ changelog }}