Skip to content

Commit 58711c6

Browse files
Update security-bot.yml
1 parent 82c7764 commit 58711c6

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/security-bot.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,10 @@ jobs:
2828
# Also look for any USER#### IDs appearing on the page
2929
if grep -qE "Answer:|USER[0-9]{4}|failed" blogger_dump.html; then
3030
echo "BOT_RESPONDED=true" >> $GITHUB_ENV
31-
32-
If you cannot search the site, read this sample instead.
33-
USER6776
34-
Explanation:
3531
3632
# Extract the specific text the bot wrote to show you in the report
3733
# This grabs 2 lines of context around the "Answer"
38-
grep -C 2 "Answer:" or " Explanation:" blogger_dump.html > bot_message.txt || echo "Pattern found but hidden in script" > bot_message.txt
34+
grep -C 2 "Answer:" blogger_dump.html > bot_message.txt || echo "Pattern found but hidden in script" > bot_message.txt
3935
fi
4036
4137
- name: "Report Bot to GitHub"

0 commit comments

Comments
 (0)