Skip to content

Commit d809311

Browse files
Update postBlueSky.yml
1 parent e952987 commit d809311

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

.github/workflows/postBlueSky.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@ on:
44
pull_request:
55
types:
66
- closed
7+
workflow_dispatch:
8+
inputs:
9+
text:
10+
description: 'Post Text'
11+
required: true
12+
type: choice
13+
options:
14+
- patch
15+
- minor
16+
- major
17+
link:
18+
description: 'Links'
19+
required: true
20+
type: string
21+
authorName:
22+
description: 'Author Name'
23+
required: true
24+
type: string
725

826
jobs:
927
if_merged:
@@ -13,10 +31,9 @@ jobs:
1331
# - run: |
1432
# echo ${{ github.event.pull_request.title }} \n ${{ github.event.pull_request._links.html.href }}
1533

16-
- uses: zentered/bluesky-post[email protected]
34+
- uses: myConsciousness/bluesky-post@v5
1735
with:
18-
post: ${{ github.event.pull_request.title }} by ${{ github.event.pull_request.user.login }}
19-
${{ github.event.pull_request._links.html.href }}
20-
env:
21-
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
22-
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
36+
text: ${{ github.event.pull_request.title }} by ${{ github.event.pull_request.user.login }}
37+
link-preview-url: ${{ github.event.pull_request._links.html.href }}
38+
identifier: ${{ secrets.BSKY_IDENTIFIER }}
39+
password: ${{ secrets.BSKY_PASSWORD }}

0 commit comments

Comments
 (0)