Skip to content

Commit af65b18

Browse files
authored
Merge pull request #1277 from capricorn86/1272-fix-release
chore: [#1272] Try to fix the release
2 parents b98ae50 + 607d5ee commit af65b18

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
pull_request:
55
types: [closed]
66

7+
permissions:
8+
contents: write
9+
pull-requests: read
10+
711
jobs:
812
check-next-version:
913
runs-on: ubuntu-latest
@@ -103,8 +107,8 @@ jobs:
103107

104108
- name: Configures Git
105109
run: |
106-
git config --global user.name "${{ secrets.GIT_USER_NAME }}"
107-
git config --global user.email "${{ secrets.GIT_USER_EMAIL }}"
110+
git config --global user.name "${{ github.actor }}"
111+
git config --global user.email "$(git log --format='%ae' HEAD^!)"
108112
109113
- name: Creates release branch
110114
run: |

0 commit comments

Comments
 (0)