ci: commit as edgelessci

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-02-20 15:33:59 +01:00
parent c5977840f6
commit 62fbbff91f
3 changed files with 6 additions and 6 deletions

View File

@ -65,8 +65,8 @@ jobs:
diff_dirs=$(git diff --name-only) diff_dirs=$(git diff --name-only)
if [[ "${diff_dirs}" == "internal/versions/versions.go" ]]; then if [[ "${diff_dirs}" == "internal/versions/versions.go" ]]; then
echo "internal/versions/versions.go is the only changed file, so we can push the changes." echo "internal/versions/versions.go is the only changed file, so we can push the changes."
git config --global user.name "renovate[bot]" git config --global user.name "edgelessci"
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com" git config --global user.email "edgelessci@users.noreply.github.com"
git commit -am "deps: update versions.go" git commit -am "deps: update versions.go"
git push git push
fi fi

View File

@ -60,7 +60,7 @@ jobs:
if: failure() && (steps.hcl-lock.conclusion == 'failure') && startsWith(github.head_ref, 'renovate/') if: failure() && (steps.hcl-lock.conclusion == 'failure') && startsWith(github.head_ref, 'renovate/')
shell: bash shell: bash
run: | run: |
git config --global user.name "renovate[bot]" git config --global user.name "edgelessci"
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com" git config --global user.email "edgelessci@users.noreply.github.com"
git commit -am "deps: update HCL lock files" git commit -am "deps: update HCL lock files"
git push git push

View File

@ -74,7 +74,7 @@ jobs:
!github.event.pull_request.head.repo.fork !github.event.pull_request.head.repo.fork
shell: bash shell: bash
run: | run: |
git config --global user.name "renovate[bot]" git config --global user.name "edgelessci"
git config --global user.email "29139614+renovate[bot]@users.noreply.github.com" git config --global user.email "edgelessci@users.noreply.github.com"
git commit -am "deps: tidy all modules" git commit -am "deps: tidy all modules"
git push git push