@@ -61,18 +61,16 @@ jobs:
6161 exit 1
6262 fi
6363 - name : Checkout repository
64- uses : actions/checkout@v4
64+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6565 with :
6666 fetch-depth : 0
6767 token : ${{ secrets.GH_ACCESS_TOKEN }}
6868
6969 - name : Setup pnpm
70- uses : pnpm/action-setup@v3
71- with :
72- version : 9.15.0
70+ uses : pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
7371
7472 - name : Setup Node.js
75- uses : actions/setup-node@v4
73+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
7674 with :
7775 node-version : 24
7876 registry-url : " https://registry.npmjs.org"
@@ -232,7 +230,7 @@ jobs:
232230
233231 - name : Upload release artifacts to GitHub Release
234232 if : inputs.dry_run == false
235- uses : softprops/action-gh-release@v2
233+ uses : softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2
236234 with :
237235 tag_name : v${{ steps.version.outputs.version }}
238236 files : release-artifacts/*.tar.gz
@@ -242,8 +240,10 @@ jobs:
242240
243241 - name : Notify Slack on success
244242 if : success() && inputs.dry_run == false
245- uses : slackapi/slack-github-action@v1.26.0
243+ uses : slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3
246244 with :
245+ webhook : ${{ secrets.SLACK_WEBHOOK_RELEASES }}
246+ webhook-type : incoming-webhook
247247 payload : |
248248 {
249249 "text": "✅ Langfuse JS/TS SDK v${{ steps.version.outputs.version }} published to npm",
@@ -331,14 +331,13 @@ jobs:
331331 }
332332 ]
333333 }
334- env :
335- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_RELEASES }}
336- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
337334
338335 - name : Notify Slack on dry run success
339336 if : success() && inputs.dry_run == true
340- uses : slackapi/slack-github-action@v1.26.0
337+ uses : slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3
341338 with :
339+ webhook : ${{ secrets.SLACK_WEBHOOK_ENGINEERING }}
340+ webhook-type : incoming-webhook
342341 payload : |
343342 {
344343 "text": "🧪 Langfuse JS/TS SDK dry run completed for v${{ steps.version.outputs.version }}",
@@ -414,14 +413,13 @@ jobs:
414413 }
415414 ]
416415 }
417- env :
418- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_ENGINEERING }}
419- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
420416
421417 - name : Notify Slack on failure
422418 if : failure()
423- uses : slackapi/slack-github-action@v1.26.0
419+ uses : slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3
424420 with :
421+ webhook : ${{ secrets.SLACK_WEBHOOK_ENGINEERING }}
422+ webhook-type : incoming-webhook
425423 payload : |
426424 {
427425 "text": "❌ Langfuse JS/TS SDK release workflow failed",
@@ -507,9 +505,6 @@ jobs:
507505 }
508506 ]
509507 }
510- env :
511- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_ENGINEERING }}
512- SLACK_WEBHOOK_TYPE : INCOMING_WEBHOOK
513508
514509 - name : Rollback notification on partial failure
515510 if : failure() && steps.release.outcome == 'success'
0 commit comments