Skip to content

Commit b01cc5a

Browse files
fix!!!
1 parent a5ffaa2 commit b01cc5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/warn_direct_push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
sudo apt install jq
2020
echo "error: Direct push was detected!!"
2121
PUSHER_GITHUB="${{ github.event.pusher.username }}"
22-
echo "= cause: ${PUSHER_GITHUB}'s push"
23-
echo "= help: This is not recommended."
24-
echo "= help: Please revert those commit github."
22+
echo " cause: $PUSHER_GITHUB's push"
23+
echo " help: This is not recommended."
24+
echo " help: Please revert those commit github."
2525
# TODO: checkout branch and revert default branch to base.
2626
PUSHER_DISCORD="$(echo '${{ secrets.DIRECT_PUSH_DETECTOR_USER_MAPS }}' | jq '[.[] | ({ key: .github[], value: .discord })] | from_entries" | jq -r ".$PUSHER_GITHUB"
2727
PUSHER_DISCORD_MENTION=""
2828
if [ "$PUSHER_DISCORD" -eq "null" ]; then
2929
echo "warn: pusher's Discord numeric id could not found."
30-
echo "= help: To solve this warning, please register $PUSHER_GITHUB explicitly."
30+
echo " help: To solve this warning, please register $PUSHER_GITHUB explicitly."
3131
else
3232
PUSHER_DISCORD_MENTION="<@${PUSHER_DISCORD}>"
3333
fi

0 commit comments

Comments
 (0)