Use github-actions[bot]

Issue gh-13865
This commit is contained in:
Marcus Da Coregio 2023-10-09 15:40:02 -03:00
parent 19ce45a080
commit 89ed2d935e
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ jobs:
TOKEN: ${{ secrets.GITHUB_TOKEN }} TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
git config --global url."https://unused-username:${TOKEN}@github.com/".insteadOf "https://github.com/" git config --global url."https://unused-username:${TOKEN}@github.com/".insteadOf "https://github.com/"
git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)" git config --global user.name 'github-actions[bot]'
git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)" git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up JDK 17 - name: Set up JDK 17