Skip to content

Commit fc64f9b

Browse files
committed
Rename and simplify action to setup-git
Removed Python setup steps to focus solely on Git configuration. Updated Git user email and name setup to dynamically use GitHub actor details for improved accuracy.
1 parent a38b154 commit fc64f9b

2 files changed

Lines changed: 11 additions & 23 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: setup-git
2+
description: 'Setup git'
3+
runs:
4+
using: 'composite'
5+
steps:
6+
- name: Git check
7+
run: |
8+
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
9+
git config --global user.name "$(gh api /users/${GITHUB_ACTOR} | jq .name -r)"
10+
git config -l
11+
shell: bash

.github/actions/setup-python-and-git/action.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)