File tree Expand file tree Collapse file tree 4 files changed +438
-0
lines changed Expand file tree Collapse file tree 4 files changed +438
-0
lines changed Original file line number Diff line number Diff line change 20
20
" chartjs" ,
21
21
" chrono" ,
22
22
" combak" ,
23
+ " crosspost" ,
23
24
" datelike" ,
24
25
" dicebear" ,
25
26
" docme" ,
29
30
" docus" ,
30
31
" docyou" ,
31
32
" hexdigit" ,
33
+ " humanwhocodes" ,
32
34
" indicatif" ,
33
35
" lightningcss" ,
34
36
" mockall" ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ permissions:
10
10
id-token : write
11
11
contents : write
12
12
packages : write
13
+ models : read
13
14
14
15
jobs :
15
16
build-binaries :
@@ -216,3 +217,33 @@ jobs:
216
217
done
217
218
env :
218
219
NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
220
+
221
+ - name : Generate Social Changelog
222
+ continue-on-error : true
223
+ run : |
224
+ pnpm social-changelog \
225
+ --org azat-io \
226
+ --repo eslint-plugin-perfectionist \
227
+ --name "ESLint Plugin Perfectionist" \
228
+ > social-post.txt
229
+ env :
230
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
231
+
232
+ - name : Post to Social Media
233
+ continue-on-error : true
234
+ run : |
235
+ pnpm crosspost \
236
+ --twitter \
237
+ --bluesky \
238
+ --mastodon \
239
+ --file social-post.txt
240
+ env :
241
+ TWITTER_API_CONSUMER_KEY : ${{ secrets.TWITTER_API_CONSUMER_KEY }}
242
+ TWITTER_API_CONSUMER_SECRET : ${{ secrets.TWITTER_API_CONSUMER_SECRET }}
243
+ TWITTER_ACCESS_TOKEN_KEY : ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }}
244
+ TWITTER_ACCESS_TOKEN_SECRET : ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
245
+ BLUESKY_HOST : ${{ secrets.BLUESKY_HOST }}
246
+ BLUESKY_IDENTIFIER : ${{ secrets.BLUESKY_IDENTIFIER }}
247
+ BLUESKY_PASSWORD : ${{ secrets.BLUESKY_PASSWORD }}
248
+ MASTODON_ACCESS_TOKEN : ${{ secrets.MASTODON_ACCESS_TOKEN }}
249
+ MASTODON_HOST : ${{ secrets.MASTODON_HOST }}
Original file line number Diff line number Diff line change 60
60
"@commitlint/config-conventional" : " ^19.8.0" ,
61
61
"@dicebear/core" : " ^9.2.2" ,
62
62
"@dicebear/open-peeps" : " ^9.2.2" ,
63
+ "@humanwhocodes/crosspost" : " ^0.12.0" ,
64
+ "@humanwhocodes/social-changelog" : " ^0.4.0" ,
63
65
"@svelte-plugins/tooltips" : " ^3.0.3" ,
64
66
"@sveltejs/vite-plugin-svelte" : " 5.0.3" ,
65
67
"@tanstack/svelte-table" : " 9.0.0-alpha.10" ,
You can’t perform that action at this time.
0 commit comments