Merge pull request #1646 from nextcloud/bugfix/noid/drone-commit-signoff

scripts: Have Drone properly signoff commits so that it doesn't break DCO
This commit is contained in:
Tobias Kaminsky 2021-10-25 07:39:32 +02:00 committed by GitHub
commit 8bf1b5ecb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ system ("git remote add origin https://" + git_user + ":" + git_token + "@github
system ('git add ' + PREVIOUS_FINDBUGS_RESULTS_FILE) system ('git add ' + PREVIOUS_FINDBUGS_RESULTS_FILE)
# commit changes; Add "skip ci" so that we don't accidentally trigger another Drone build # commit changes; Add "skip ci" so that we don't accidentally trigger another Drone build
system ('git commit -sm "Drone: update FindBugs results to reflect reduced error/warning count [skip ci]" ') system({"GIT_COMMITTER_EMAIL" => "drone@nextcloud.com", "GIT_AUTHOR_EMAIL" => "drone@nextcloud.com"}, 'git commit -sm "Drone: update FindBugs results to reflect reduced error/warning count [skip ci]"')
# push to origin # push to origin
system ('git push origin HEAD:' + git_branch) system ('git push origin HEAD:' + git_branch)

View file

@ -186,7 +186,7 @@ system ("git remote add origin https://" + git_user + ":" + git_token + "@github
system ('git add ' + PREVIOUS_LINT_RESULTS_FILE) system ('git add ' + PREVIOUS_LINT_RESULTS_FILE)
# commit changes; Add "skip ci" so that we don't accidentally trigger another Drone build # commit changes; Add "skip ci" so that we don't accidentally trigger another Drone build
system ('git commit -sm "Drone: update Lint results to reflect reduced error/warning count [skip ci]" ') system({"GIT_COMMITTER_EMAIL" => "drone@nextcloud.com", "GIT_AUTHOR_EMAIL" => "drone@nextcloud.com"}, 'git commit -sm "Drone: update Lint results to reflect reduced error/warning count [skip ci]"')
# push to origin # push to origin
system ('git push origin HEAD:' + git_branch) system ('git push origin HEAD:' + git_branch)