chore: title PRs

This commit is contained in:
Nick the Sick 2024-07-03 19:40:43 +02:00
parent 42af7a1b7b
commit 0c4396e7fe
No known key found for this signature in database
GPG Key ID: F575992F156E5BCC

View File

@ -40,6 +40,8 @@ jobs:
uses: changesets/action@v1
with:
publish: npm run publish
title: "Publish a new stable version"
commit: "chore(release): publish a new release version"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
@ -50,12 +52,14 @@ jobs:
uses: changesets/action@v1
with:
publish: npm run publish:pre
title: "Publish a new pre-release version"
commit: "chore(release): publish a new pre-release version"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Send release notification
if: steps.changesets.outputs.published == 'true' || steps.changesets_pre.outputs.published == 'true'
if: ${{ steps.changesets.outputs.published == 'true' || steps.changesets_pre.outputs.published == 'true' }}
id: slack
uses: slackapi/slack-github-action@v1.26.0
with: