From 36c6689ae82dbb21fa7fe96cab75653f9f838c01 Mon Sep 17 00:00:00 2001 From: Junya Sasaki Date: Tue, 27 Aug 2024 13:14:37 +0900 Subject: [PATCH] [Bug] Fix a missing git config section * This will fix the following error: ``` stderr: 'Author identity unknown *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. ``` Signed-off-by: Junya Sasaki --- .github/workflows/create-version-update-pr.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-version-update-pr.yaml b/.github/workflows/create-version-update-pr.yaml index f6609a1..492996d 100644 --- a/.github/workflows/create-version-update-pr.yaml +++ b/.github/workflows/create-version-update-pr.yaml @@ -26,7 +26,12 @@ jobs: - name: Install dependencies run: python -m pip install --upgrade pyyaml PyGithub GitPython packaging - + + - name: Set git config + uses: autowarefoundation/autoware-github-actions/set-git-config@v1 + with: + token: ${{ steps.generate-token.outputs.token }} + - name: Run Python env: GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}