fix: hard-code CI_COMMIT_AUTHOR_* details to avoid failures in PR builds
ci/woodpecker/push/woodpecker Pipeline was successful Details

ref: https://gitea.hostea.org/Hostea/dashboard/pulls/42
fix-ci-author-email-pr-buid-fail
Aravinth Manivannan 2022-07-08 19:51:06 +05:30
parent cb6bce0c44
commit cc12d1a77d
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ new_fleet_repo_init() {
git init
if is_ci
then
git config user.email "${CI_COMMIT_AUTHOR_EMAIL}"
git config user.name "${CI_COMMIT_AUTHOR}"
git config user.email "hostea-dashobard-test@example.org"
git config user.name "hoste-dashobard-test"
chmod 600 $GITEA_HOSTEA_FLEET_DEPLOY_KEY_PRIVATE
fi
git add README