auto-format #20

Merged
leon merged 143 commits from auto-format into main 2024-02-14 01:18:02 +01:00
Showing only changes of commit 5e3bb53439 - Show all commits

View File

@ -129,10 +129,7 @@ steps:
- chmod 700 -R "$${HOME}/.ssh" - chmod 700 -R "$${HOME}/.ssh"
- echo "$GPG_PRIVKEY" > /tmp/private.key - echo "$GPG_PRIVKEY" > /tmp/private.key
- echo "#!/bin/sh" >> /tmp/import.sh - gpg-agent && gpg --import /tmp/private.key" >> /tmp/import.sh
- echo "gpg --import /tmp/private.key" >> /tmp/import.sh
- chmod 777 /tmp/import.sh
- gpg-agent --daemon /tmp/import.sh
- git config --local user.name "WANessa" - git config --local user.name "WANessa"
- git config --local user.email "$GIT_EMAIL_ADDRESS" - git config --local user.email "$GIT_EMAIL_ADDRESS"
@ -143,9 +140,7 @@ steps:
# - git config core.sshCommand '/usr/bin/ssh -v' # - git config core.sshCommand '/usr/bin/ssh -v'
- git remote add ssh "$DRONE_GIT_SSH_URL" - git remote add ssh "$DRONE_GIT_SSH_URL"
- echo "#!/bin/sh" >> /tmp/commit.sh - gpg-agent && "GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -Sam "rustfmt""
- echo "GIT_COMMITTER_NAME="WANessa" GIT_COMMITTER_EMAIL="$GIT_EMAIL_ADDRESS" git commit --author "$DRONE_COMMIT_AUTHOR_NAME <$DRONE_COMMIT_AUTHOR_EMAIL>" -Sam "rustfmt"" >> /tmp/commit.sh
- gpg-agent --daemon /tmp/commit.sh
- git push ssh - git push ssh
environment: environment: