Skip to content

Commit

Permalink
Set email and username on git to avoid failure on annex
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Dec 16, 2024
1 parent 3c62666 commit fe0dab3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update-pulp-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
sudo curl --create-dirs -o /usr/local/bin/rpmdev-vercmp https://pagure.io/rpmdevtools/raw/79740e6f1881e399b0b4340a8090dd5adc91a4ea/f/rpmdev-vercmp
printf '#!/bin/bash\necho "$GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>"' | sudo tee /usr/local/bin/rpmdev-packager
sudo chmod +x /usr/local/bin/spectool /usr/local/bin/rpmdev-*
git config --global user.name "$GIT_AUTHOR_NAME"
git config --global user.email "$GIT_AUTHOR_EMAIL"
- name: Initialize git annex
run: git annex init
- name: Update Packages
Expand Down

0 comments on commit fe0dab3

Please sign in to comment.