From ada52bb8286dfb065b0879943aa90ece40828ed2 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Sun, 3 Mar 2024 12:22:12 +0100 Subject: [PATCH] Bump `cbrgm/mastodon-github-action` to v2 (#635) And update parameters accordingly --- .github/workflows/post-to-mastodon.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/post-to-mastodon.yml b/.github/workflows/post-to-mastodon.yml index 5d9ffda..9c52099 100644 --- a/.github/workflows/post-to-mastodon.yml +++ b/.github/workflows/post-to-mastodon.yml @@ -9,9 +9,8 @@ jobs: steps: - name: Send toot to Mastodon id: mastodon - uses: cbrgm/mastodon-github-action@v1 + uses: cbrgm/mastodon-github-action@v2 with: message: "We just released Northstar ${{ github.event.release.tag_name }}\n\n${{ github.event.release.html_url }}" - env: - MASTODON_URL: ${{ secrets.MASTODON_URL }} - MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} + url: ${{ secrets.MASTODON_URL }} + access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}