Compare commits

...

1 Commits

Author SHA1 Message Date
Zoltan Kochan 5b7adbd9b6
ci: post to mastodon on release 2023-02-18 03:27:06 +02:00
1 changed files with 16 additions and 0 deletions

View File

@ -53,3 +53,19 @@ jobs:
subreddit: pnpm
title: pnpm@${{ github.event.inputs.version }} is out!
url: https://github.com/pnpm/pnpm/releases/tag/v${{ github.event.inputs.version }}
post-to-mastodon:
runs-on: ubuntu-latest
environment: release
needs: tag-in-registry
steps:
- name: Send toot to Mastodon
id: mastodon
uses: cbrgm/mastodon-github-action@v1
with:
message: pnpm@${{ github.event.inputs.version }} is out!
visibility: "public"
env:
MASTODON_URL: "https://fosstodon.org/"
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} # access token