Skip to content

Commit 56bca8a

Browse files
authored
feat(social): add X posting on release (#50)
Add notify-x job to post releases to X alongside BlueSky.
1 parent 5c96ca0 commit 56bca8a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,3 +351,23 @@ jobs:
351351
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
352352
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
353353

354+
notify-x:
355+
name: Post to X
356+
needs: notify-discussion
357+
uses: CodingWithCalvin/.github/.github/workflows/x-post.yml@main
358+
with:
359+
post_text: |
360+
rnr v${{ github.event.inputs.version }} is now available!
361+
362+
Cross-platform task runner with zero setup - clone a repo and tasks just work!
363+
364+
#rnr #taskrunner #devtools #rust #opensource
365+
366+
Release Notes: https://github.com/${{ github.repository }}/releases/tag/v${{ github.event.inputs.version }}
367+
Discussion: ${{ needs.notify-discussion.outputs.discussion_url }}
368+
secrets:
369+
X_CONSUMER_KEY: ${{ secrets.X_CONSUMER_KEY }}
370+
X_CONSUMER_KEY_SECRET: ${{ secrets.X_CONSUMER_KEY_SECRET }}
371+
X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
372+
X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
373+

0 commit comments

Comments
 (0)