Skip to content

Commit 988da03

Browse files
committed
feat(social): add X posting on release
Add notify-x job to post releases to X alongside BlueSky.
1 parent 8897dd3 commit 988da03

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,3 +377,21 @@ jobs:
377377
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
378378
BLUESKY_APP_PASSWORD: ${{ secrets.BLUESKY_APP_PASSWORD }}
379379

380+
notify-x:
381+
name: Post to X
382+
needs: notify-discussion
383+
uses: CodingWithCalvin/.github/.github/workflows/x-post.yml@main
384+
with:
385+
post_text: |
386+
🚀 #dtvem v${{ github.event.inputs.version }} is now available!
387+
388+
Cross-platform version manager for #Node, #Python, and #Ruby - supports #Windows, #Linux, and #macOS
389+
390+
Release Notes: https://github.com/${{ github.repository }}/releases/tag/v${{ github.event.inputs.version }}
391+
Discussion: ${{ needs.notify-discussion.outputs.discussion_url }}
392+
secrets:
393+
X_CONSUMER_KEY: ${{ secrets.X_CONSUMER_KEY }}
394+
X_CONSUMER_KEY_SECRET: ${{ secrets.X_CONSUMER_KEY_SECRET }}
395+
X_ACCESS_TOKEN: ${{ secrets.X_ACCESS_TOKEN }}
396+
X_ACCESS_TOKEN_SECRET: ${{ secrets.X_ACCESS_TOKEN_SECRET }}
397+

0 commit comments

Comments
 (0)