Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YutaUra authored Sep 17, 2024
1 parent f107749 commit 0d4812c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
shell: bash
run: |
user_name=${{ inputs.bot-app-slug }}[bot]
user_email=$(gh api "/users/${{ inputs.bot-app-slug }}[bot]" --jq .id)+${{ inputs.bot-app-slug }}[bot]@users.noreply.github.com
user_email=$(gh api "/apps/${{ inputs.bot-app-slug }}" --jq .id)+${{ inputs.bot-app-slug }}[bot]@users.noreply.github.com
echo "Setting up git user: $user_name <$user_email>"
git config --global user.name $user_name
git config --global user.email $user_email
Expand All @@ -40,4 +40,4 @@ runs:
key: ${{ runner.os }}-turbo-${{ github.workflow }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-${{ github.workflow }}
${{ runner.os }}-turbo-
${{ runner.os }}-turbo-

0 comments on commit 0d4812c

Please sign in to comment.