Skip to content

Commit d99f908

Browse files
authored
ci: configure github user (#23)
* [create-pull-request] automated change * chore: empty commit * ci: prevent duplicate branches * ci: configure github user --------- Co-authored-by: NJordan72 <[email protected]>
1 parent 40d1018 commit d99f908

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
run: |
6868
sed -i 's/@v[0-9]\+\.[0-9]\+\.[0-9]\+/@v${{ github.event.inputs.version }}/' README.md
6969
70+
7071
- name: Create pull request
7172
uses: peter-evans/create-pull-request@v7
7273
with:

.github/workflows/tag_and_release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
VERSION=$(echo "${{ github.event.pull_request.title }}" | grep -oE "[0-9]+\.[0-9]+\.[0-9]+")
2222
echo "VERSION=$VERSION" >> $GITHUB_ENV
2323
24+
- name: Configure Git
25+
run: |
26+
git config --global user.name "GitHub Actions"
27+
git config --global user.email "[email protected]"
28+
2429
- name: Create and push tag
2530
run: |
2631
git tag -a v${{ env.VERSION }} -m "Release v${{ env.VERSION }}"

0 commit comments

Comments
 (0)