Skip to content

Commit c89b398

Browse files
Fix release workflow
1 parent ba9a735 commit c89b398

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
fetch-depth: 0
2121
- name: Update "main" branch
2222
run: |-
23+
# Set the git user
24+
git config --global user.name "${{ github.triggering_actor }}"
25+
git config --global user.email "khiops.team@orange.com"
26+
27+
# Fetch the dev branch
28+
git fetch origin dev
29+
git switch dev # To activate the local copy
30+
git switch main
31+
2332
# Merge dev into main, tag the merge commit
2433
git merge --no-ff -m'Merge branch 'dev' for release ${{ inputs.version }}' dev
2534
git tag ${{ inputs.version }}

0 commit comments

Comments
 (0)