Skip to content

Commit dbefc53

Browse files
committed
fix: fix changelog automation pipeline
1 parent 2ed7e39 commit dbefc53

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/release-make-it-native.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ jobs:
2424
- name: Install dependencies
2525
run: npm ci
2626

27-
- name: Set git identity
28-
env:
29-
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
30-
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
31-
run: |
32-
git config --global user.name "$GIT_USER_NAME"
33-
git config --global user.email "$GIT_USER_EMAIL"
34-
3527
- name: Run release script
3628
env:
3729
MIN_VERSION: ${{ github.event.inputs.version }}

scripts/release-make-it-native.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ function updateChangelog({ changelog, unreleasedContent, changelogPath }) {
7070
async function createPRUpdateChangelog() {
7171
const git = simpleGit();
7272

73+
await git.addConfig("user.name", "MendixMobile", ["--global"]);
74+
await git.addConfig("user.email", "[email protected]", ["--global"]);
75+
7376
await git.checkoutLocalBranch(CHANGELOG_BRANCH_NAME);
7477

7578
await git.add("CHANGELOG.md");

0 commit comments

Comments
 (0)