Skip to content

Commit 125896c

Browse files
ci: update the auto-release commit name
1 parent 5b5f350 commit 125896c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
create-gh-release:
1414
name: Create GitHub Release
1515
runs-on: ubuntu-latest
16-
if: github.event.commits[0].committer.name == 'github-actions[bot]' && startsWith(github.event.head_commit.message, '[release]')
16+
if: github.event.commits[0].committer.name == 'github-actions[bot]' && startsWith(github.event.head_commit.message, 'chore(release):')
1717
permissions:
1818
contents: write
1919

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
git config --global user.name "github-actions[bot]"
148148
git config --global user.email "github-actions[bot]@users.noreply.github.com"
149149
git add src/renamedReplacements.js package.json pnpm-lock.yaml
150-
git commit --amend -m "[release] Bump replacements map"
150+
git commit -m "chore(release): update the replacements map"
151151
git checkout ${{ github.event.repository.default_branch }}
152152
git merge ${{ github.head_ref }}
153153
git push origin ${{ github.event.repository.default_branch }}:${{ github.event.repository.default_branch }}

0 commit comments

Comments
 (0)