diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 4c38216..f5f0722 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -58,13 +58,11 @@ jobs: - name: Create conventional commit env: COMMIT_TYPE: ${{ steps.pr-type.outputs.type }} - BASE_REF: ${{ github.event.pull_request.base.ref }} run: | git config user.email "ci@github.com" git config user.name "GitHub CI" ORIGINAL_MSG=$(git log -1 --pretty=%s) git commit --allow-empty -m "${COMMIT_TYPE}: ${ORIGINAL_MSG}" - git push origin "HEAD:${BASE_REF}" - name: Run semantic-release env: @@ -138,11 +136,11 @@ jobs: } const cats = [ - { title: '๐Ÿš€ Features', types: ['feat'] }, - { title: '๐Ÿ› Fixes', types: ['fix'] }, - { title: '๐Ÿงน Chores', types: ['chore'] }, - { title: '๐Ÿ“š Documentation', types: ['docs'] }, - { title: 'โ™ป๏ธ Refactors', types: ['refactor'] }, + { title: 'Features', types: ['feat'] }, + { title: 'Fixes', types: ['fix'] }, + { title: 'Chores', types: ['chore'] }, + { title: 'Documentation', types: ['docs'] }, + { title: 'Refactors', types: ['refactor'] }, { title: 'Other Changes', types: ['*'] }, ].map(c => ({ ...c, items: [] }));