Skip to content

Commit 158c98d

Browse files
committed
remove comment
1 parent 0cac540 commit 158c98d

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/auto-llms-txt.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,6 @@ jobs:
5858
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5959
BRANCH_PREFIX: auto-llms
6060
run: |
61-
# Check for stop command every 30 seconds
62-
check_stop() {
63-
if gh pr view ${{ github.event.pull_request.number }} --json comments --jq -r '.comments[] | select(.body | contains("stop")) | .body' | grep -q stop; then
64-
gh pr comment ${{ github.event.pull_request.number }} --body "⏹️ **Analysis Stopped**
65-
66-
LLMs.txt analysis cancelled per user request."
67-
exit 0
68-
fi
69-
}
70-
71-
# Run stop check in background
72-
while true; do
73-
sleep 30
74-
check_stop
75-
done &
76-
STOP_PID=$!
77-
78-
# Cleanup function
79-
cleanup() {
80-
kill $STOP_PID 2>/dev/null || true
81-
}
82-
trap cleanup EXIT
83-
8461
cursor-agent -p "You are operating in a GitHub Actions runner to automatically update llms.txt and llms-full.txt files.
8562
8663
The GitHub CLI is available as \`gh\` and authenticated via \`GH_TOKEN\`. Git is available. You have write access to repository contents and can comment on pull requests, but you must not create or edit PRs directly.

0 commit comments

Comments
 (0)