Skip to content

Commit

Permalink
fix: Cater for corner case of repo created freshly from template
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Aug 7, 2024
1 parent be9c318 commit 9f08ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/.github/workflows/push-on-change.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Configure Git identity
run: |
git log HEAD^.. --pretty=format:"git config --global user.name '%an' && git config --global user.email '%ae'" | tee /dev/stderr | sh
git log -n 1 --pretty=format:"git config --global user.name '%an' && git config --global user.email '%ae'" | tee /dev/stderr | sh
- name: Get branch name
id: remote_repo
Expand Down

0 comments on commit 9f08ada

Please sign in to comment.