Skip to content

Commit 8d7f251

Browse files
committed
Added commit auto-signing for easier maintenance
1 parent 7e8b384 commit 8d7f251

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/sync-remove-json-keys.py-changes.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
- name: Config committer
5252
run: |
5353
gpg --batch --import <(echo "${{ secrets.GPG_PRIVATE_KEY }}")
54+
git config --global commit.gpgsign true
5455
git config --global user.name "kudo-sync-bot"
5556
git config --global user.email "[email protected]"
5657
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"
@@ -75,7 +76,7 @@ jobs:
7576
fi
7677
done
7778
git diff-index --quiet HEAD || (echo "Committing changes" && \
78-
git commit -S -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/python-utils\`]")
79+
git commit -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/python-utils\`]")
7980
git remote set-url --push origin "https://kudo-sync-bot:${{ secrets.REPO_SYNC_PAT }}@github.com/$repo"
8081
echo "Pushing changes"
8182
git push --force

.github/workflows/sync-translate-en-messages-changes.py.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
- name: Config committer
5252
run: |
5353
gpg --batch --import <(echo "${{ secrets.GPG_PRIVATE_KEY }}")
54+
git config --global commit.gpgsign true
5455
git config --global user.name "kudo-sync-bot"
5556
git config --global user.email "[email protected]"
5657
git config --global user.signingkey "${{ secrets.GPG_PRIVATE_ID }}"
@@ -75,7 +76,7 @@ jobs:
7576
fi
7677
done
7778
git diff-index --quiet HEAD || (echo "Committing changes" && \
78-
git commit -S -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/python-utils\`]")
79+
git commit -m "$ESCAPED_MSG ↞ [auto-sync from \`adamlui/python-utils\`]")
7980
git remote set-url --push origin "https://kudo-sync-bot:${{ secrets.REPO_SYNC_PAT }}@github.com/$repo"
8081
echo "Pushing changes"
8182
git push --force

0 commit comments

Comments
 (0)