Skip to content

Commit ac78ee2

Browse files
committed
formatting
Signed-off-by: exploreriii <[email protected]>
1 parent 3731d37 commit ac78ee2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/bot-verified-commits.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
3131
echo "Unverified commits: $UNVERIFIED_COUNT"
3232
33-
if [ "$UNVERIFIED_COUNT" -gt 0 ]; then
33+
if [ "$UNVERIFIED_COUNT" -gt 0 ]; then
3434
COMMITS_URL="https://github.com/$REPO/pull/$PR_NUMBER/commits"
35-
COMMENT=$(
36-
cat <<EOF
35+
36+
COMMENT=$(cat <<EOF
3737
Hi, I'm VerificationBot. Your pull request has commits that are **not verified**.
3838
For your PR to be merged, all commits must achieve verified status.
3939
@@ -42,17 +42,17 @@ jobs:
4242
To resolve this, please read:
4343
- [Signing guide](https://github.com/exploreriii/hiero_sdk_python/blob/main/docs/sdk_developers/signing.md)
4444
- [README](https://github.com/exploreriii/hiero_sdk_python/blob/main/README.md)
45-
Or ask for help on our [Discord](https://github.com/exploreriii/hiero_sdk_python/blob/main/docs/discord.md)
45+
- [Discord](https://github.com/exploreriii/hiero_sdk_python/blob/main/docs/discord.md)
4646
47-
Remember you require a GPG key and each commit must be signed with:
47+
Remember, you require a GPG key and each commit must be signed with:
4848
\`git commit -S -s -m "Your message here"\`
4949
5050
Thank you for contributing!
5151
EOF
5252
)
5353
54-
gh pr view $PR_NUMBER --repo $REPO --json comments --jq '.comments[].body' | grep -F "PythonBot" >/dev/null || \
55-
(gh pr comment $PR_NUMBER --repo $REPO --body "$COMMENT" && echo "Comment added to PR #$PR_NUMBER")
56-
else
57-
echo "All commits in PR #$PR_NUMBER are verified."
58-
fi
54+
gh pr view $PR_NUMBER --repo $REPO --json comments --jq '.comments[].body' | grep -F "VerificationBot" >/dev/null || \
55+
(gh pr comment $PR_NUMBER --repo $REPO --body "$COMMENT" && echo "Comment added to PR #$PR_NUMBER")
56+
else
57+
echo "All commits in PR #$PR_NUMBER are verified."
58+
fi

0 commit comments

Comments
 (0)