Summary
The Discord GitHub Notifications workflow is currently failing for new stargazers. I noticed this when starring the repository, and the runs immediately before and after mine failed in the same way for other users.
Evidence
In run #43300, the notify-discord job fails at:
Send to Google Apps Script (Stars only)
The check annotation reports:
Process completed with exit code 22.
The workflow uses curl -fSs to POST to secrets.GOOGLE_SCRIPT_ENDPOINT, so exit code 22 indicates that the endpoint returned an HTTP error response. Because this first step fails, Set webhook based on event type and Discord Notification are skipped.
Expected behavior
A temporary failure in the optional stargazer-tracking endpoint should ideally not fail the complete workflow or prevent the Discord notification from running.
Possible resolution
There appear to be two possible directions:
- Fix or redeploy
GOOGLE_SCRIPT_ENDPOINT if the current failure is only a service/configuration problem.
- If spreadsheet tracking is intended to be best-effort, handle this step as a warning (for example with
continue-on-error: true) so the Discord notification can still run.
Would the maintainers prefer the second behavior? If so, I would be happy to submit a focused PR targeting develop.
Summary
The
Discord GitHub Notificationsworkflow is currently failing for new stargazers. I noticed this when starring the repository, and the runs immediately before and after mine failed in the same way for other users.Evidence
wunala-bot): https://github.com/unclecode/crawl4ai/actions/runs/34734529387Beverly621): https://github.com/unclecode/crawl4ai/actions/runs/34734586165haoyun18881-beep): https://github.com/unclecode/crawl4ai/actions/runs/34734744872In run #43300, the
notify-discordjob fails at:The check annotation reports:
The workflow uses
curl -fSsto POST tosecrets.GOOGLE_SCRIPT_ENDPOINT, so exit code 22 indicates that the endpoint returned an HTTP error response. Because this first step fails,Set webhook based on event typeandDiscord Notificationare skipped.Expected behavior
A temporary failure in the optional stargazer-tracking endpoint should ideally not fail the complete workflow or prevent the Discord notification from running.
Possible resolution
There appear to be two possible directions:
GOOGLE_SCRIPT_ENDPOINTif the current failure is only a service/configuration problem.continue-on-error: true) so the Discord notification can still run.Would the maintainers prefer the second behavior? If so, I would be happy to submit a focused PR targeting
develop.