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 a14989e commit 8daf839
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 @@ -71,6 +71,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 @@ -79,12 +80,12 @@ jobs:
run: |
cd ${{ github.workspace }}/adamlui/phind-omnibox
git add .
git commit -S -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/phind-omnibox\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/phind-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/phind-omnibox\`]" || true
git commit -n -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/phind-omnibox\`]" || true
git push

0 comments on commit 8daf839

Please sign in to comment.