Skip to content

Commit

Permalink
Added commit auto-signing for easier maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored Oct 12, 2024
1 parent ab64d38 commit 252b3c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sync-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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

0 comments on commit 252b3c1

Please sign in to comment.