Skip to content

Commit

Permalink
Merge pull request #226 from boozook/ci/fix-post
Browse files Browse the repository at this point in the history
CI: fix post workflow call
  • Loading branch information
boozook authored Mar 21, 2024
2 parents 7f6611b + 8255eb6 commit 00d2b14
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/post-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: PostTest
on:
workflow_dispatch:

jobs:
post-test:
uses: ./.github/workflows/post.yml
secrets: inherit
with:
message: "test"
3 changes: 2 additions & 1 deletion .github/workflows/post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ 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
visibility: unlisted
url: ${{ secrets.MASTODON_URL }}
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ jobs:
needs: crates-io
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
secrets: inherit
with:
message: "Crate${{ needs.crates-io.outputs.counter > 1 && 's' || '' }} updated: ${{ join(fromJSON(needs.crates-io.outputs.published).*.name, ', ') }}."

0 comments on commit 00d2b14

Please sign in to comment.