Skip to content

Commit 34d12d2

Browse files
committed
fix: change release variables
1 parent 25a19c7 commit 34d12d2

File tree

6 files changed

+11
-27
lines changed

6 files changed

+11
-27
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ jobs:
149149
fetch-depth: 0
150150
ssh-key: '${{ secrets.DEPLOY_KEY }}'
151151

152-
- name: Set git user
153-
uses: fregante/setup-git-user@v2
154-
155152
- name: Install pnpm
156153
uses: pnpm/action-setup@v4
157154

@@ -180,5 +177,10 @@ jobs:
180177
npm audit signatures
181178
182179
- name: Create a release
180+
env:
181+
GIT_AUTHOR_NAME: 'github-actions[bot]'
182+
GIT_COMMITTER_NAME: 'github-actions[bot]'
183+
GIT_AUTHOR_EMAIL: '41898282+github-actions[bot]@users.noreply.github.com'
184+
GIT_COMMITTER_EMAIL: '41898282+github-actions[bot]@users.noreply.github.com'
183185
run: |
184186
pnpm exec -- semantic-release --repository-url "git@github.com:${{ github.repository }}.git"

CHANGELOG.md

Whitespace-only changes.

patches/@semantic-release__git.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
onlyBuiltDependencies:
22
- esbuild
3-
4-
patchedDependencies:
5-
'@semantic-release/git': patches/@semantic-release__git.patch

release.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
export default {
22
branches: ['master'],
33
plugins: [
4+
'@semantic-release/commit-analyzer',
5+
'@semantic-release/release-notes-generator',
46
'@semantic-release/changelog',
57
'@semantic-release/npm',
68
[
@@ -9,8 +11,9 @@ export default {
911
assets: ['package.json', 'CHANGELOG.md'],
1012
message:
1113
// eslint-disable-next-line no-template-curly-in-string -- Template string are required by `semantic-release`.
12-
'${nextRelease.version}\n\n\nskip-checks: true',
14+
'chore(release): ${nextRelease.version} [skip ci]',
1315
},
1416
],
17+
'@semantic-release/github',
1518
],
1619
}

0 commit comments

Comments
 (0)