diff --git a/.github/workflows/post.yml b/.github/workflows/post.yml index 98958cfa..3572fd30 100644 --- a/.github/workflows/post.yml +++ b/.github/workflows/post.yml @@ -42,6 +42,6 @@ jobs: # TODO: Write good-look link like [github.event.repository.name](url) language: "en" - visibility: "public" # use `unlisted` for tests + visibility: public # use `unlisted` for tests url: ${{ secrets.MASTODON_URL }} access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 20c72fee..1af413b8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -81,4 +81,4 @@ jobs: if: join(fromJSON(needs.crates-io.outputs.published).*.name, '-') && (github.event.inputs.dry-run == 'true' || (github.head_ref && 'true') || 'false') == 'false' uses: ./.github/workflows/post.yml with: - message: Crate${{ needs.crates-io.outputs.counter == 1 && '' || 's' }} ${{ join(fromJSON(needs.crates-io.outputs.published).*.name, ', ') }} updated. + message: "Crate${{ needs.crates-io.outputs.counter > 1 && 's' || '' }} updated: ${{ join(fromJSON(needs.crates-io.outputs.published).*.name, ', ') }}."