From 14b6cedaa1b13dc4b111849fbbf6edfeb109d192 Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki Date: Sun, 10 Mar 2024 14:30:49 +0100 Subject: [PATCH] Configure git username and email --- .github/workflows/wrapper-upgrade-execution.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wrapper-upgrade-execution.yml b/.github/workflows/wrapper-upgrade-execution.yml index c7d7e5d..fc9431e 100644 --- a/.github/workflows/wrapper-upgrade-execution.yml +++ b/.github/workflows/wrapper-upgrade-execution.yml @@ -13,7 +13,10 @@ jobs: - name: Set up Git configuration env: TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: git config --global url."https://unused-username:${TOKEN}@github.com/".insteadOf "https://github.com/" + run: | + git config --global url."https://unused-username:${TOKEN}@github.com/".insteadOf "https://github.com/" + git config --global user.name 'github-actions[bot]' + git config --global user.email 'github-actions[bot]@users.noreply.github.com' - name: Checkout uses: actions/checkout@v4 - name: Set up JDK