From 252b3c1fa64f1c215417badf16e943b569f94555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Lui=20=E5=88=98=E5=B1=95=E9=B9=8F?= Date: Fri, 11 Oct 2024 19:18:29 -0700 Subject: [PATCH] Added commit auto-signing for easier maintenance --- .github/workflows/sync-changes.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-changes.yml b/.github/workflows/sync-changes.yml index 84014f1..2a4992c 100644 --- a/.github/workflows/sync-changes.yml +++ b/.github/workflows/sync-changes.yml @@ -45,6 +45,7 @@ jobs: - name: Config committer run: | gpg --batch --import <(echo "${{ secrets.GPG_PRIVATE_KEY }}") + git config --global commit.gpgsign true git config --global user.name "kudo-sync-bot" git config --global user.email "auto-sync@kudoai.com" git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}" @@ -53,12 +54,12 @@ jobs: run: | cd ${{ github.workspace }}/adamlui/perplexity-omnibox git add . - git commit -S -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/perplexity-omnibox\`]" || true + git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/perplexity-omnibox\`]" || true git push - name: Push changes to adamlui/ai-apps run: | cd ${{ github.workspace }}/adamlui/ai-apps git add . - git commit -S -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/perplexity-omnibox\`]" || true + git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/perplexity-omnibox\`]" || true git push