From 77ce0520163e350cdcb713e1f2b1b27ba0e37611 Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Mon, 4 Dec 2023 16:00:21 -0500 Subject: [PATCH] Configure the git user globally --- .github/workflows/pass-java-release.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pass-java-release.yml b/.github/workflows/pass-java-release.yml index cc6dd5a7..845ae757 100644 --- a/.github/workflows/pass-java-release.yml +++ b/.github/workflows/pass-java-release.yml @@ -22,27 +22,23 @@ jobs: uses: actions/checkout@v3 with: path: main - run: | - git config user.name ${{ github.actor }} - git config user.email "${{ github.actor }}@users.noreply.github.com" - name: Checkout pass-core uses: actions/checkout@v3 with: repository: eclipse-pass/pass-core path: pass-core - run: | - git config user.name ${{ github.actor }} - git config user.email "${{ github.actor }}@users.noreply.github.com" - name: Checkout pass-support uses: actions/checkout@v3 with: repository: eclipse-pass/pass-support path: pass-support + + - name: Configure git user run: | - git config user.name ${{ github.actor }} - git config user.email "${{ github.actor }}@users.noreply.github.com" + git config --global user.name ${{ github.actor }} + git config --global user.email "${{ github.actor }}@users.noreply.github.com" - name: Set the release version, commit the change, and tag it run: |