File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,17 +28,21 @@ 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:
3135
3236 # Extract the specific text the bot wrote to show you in the report
3337 # This grabs 2 lines of context around the "Answer"
34- grep -C 2 "Answer:" blogger_dump.html > bot_message.txt || echo "Pattern found but hidden in script" > bot_message.txt
38+ grep -C 2 "Answer:" or " Explanation:" blogger_dump.html > bot_message.txt || echo "Pattern found but hidden in script" > bot_message.txt
3539 fi
3640
3741 - name : " Report Bot to GitHub"
3842 if : env.BOT_RESPONDED == 'true'
3943 env :
4044 GH_TOKEN : ${{ secrets.GH_TOKEN}}
41- REPO : " DeveloperTryingToCodeLikeOtherOfThem/pxt-hardware-programming -docs"
45+ REPO : " DeveloperTryingToCodeLikeOtherOfThem/pxt-common -docs"
4246 run : |
4347 MSG=$(cat bot_message.txt)
4448 gh issue create --repo "$REPO" \
You can’t perform that action at this time.
0 commit comments