From d809311f2819d0b4d8d9685b803c959e7ebbb1be Mon Sep 17 00:00:00 2001 From: Yogesh Choudhary Paliyal Date: Sat, 5 Apr 2025 17:47:42 +0530 Subject: [PATCH] Update postBlueSky.yml --- .github/workflows/postBlueSky.yml | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/.github/workflows/postBlueSky.yml b/.github/workflows/postBlueSky.yml index 8cb273bc..13b260fa 100644 --- a/.github/workflows/postBlueSky.yml +++ b/.github/workflows/postBlueSky.yml @@ -4,6 +4,24 @@ on: pull_request: types: - closed + workflow_dispatch: + inputs: + text: + description: 'Post Text' + required: true + type: choice + options: + - patch + - minor + - major + link: + description: 'Links' + required: true + type: string + authorName: + description: 'Author Name' + required: true + type: string jobs: if_merged: @@ -13,10 +31,9 @@ jobs: # - run: | # echo ${{ github.event.pull_request.title }} \n ${{ github.event.pull_request._links.html.href }} - - uses: zentered/bluesky-post-action@v0.2.0 + - uses: myConsciousness/bluesky-post@v5 with: - post: ${{ github.event.pull_request.title }} by ${{ github.event.pull_request.user.login }} - ${{ github.event.pull_request._links.html.href }} - env: - BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }} - BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }} + text: ${{ github.event.pull_request.title }} by ${{ github.event.pull_request.user.login }} + link-preview-url: ${{ github.event.pull_request._links.html.href }} + identifier: ${{ secrets.BSKY_IDENTIFIER }} + password: ${{ secrets.BSKY_PASSWORD }}