Adjust collab CI to run on weekly schedule instead of every PR #601
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR modifies the Google Colab execution workflow (
collab.yml) to run on a weekly schedule instead of on every pull request, and adds automated issue creation when execution failures occur.Changes Made
Trigger Schedule: Changed from
on: [pull_request]to weekly execution on Mondays at 4am UTC using cron schedule'0 4 * * 1'. This prevents the expensive Colab execution checks from running on every PR while still maintaining regular validation.Issue Creation on Failure: Added automated issue creation when execution fails using the
peter-evans/create-issue-from-file@v5action. The created issues include:execution-failure,automated-issue,colab)Permissions: Added
issues: writepermission to enable automated issue creation.Manual Trigger: Included
workflow_dispatchto allow manual execution when needed for testing or investigation.Checkout Simplification: Removed the pull request specific checkout reference since the workflow no longer handles PR events.
Benefits
The workflow now runs weekly at 4am UTC (offset from the cache build at 3am) and will create detailed issues when notebook execution fails in the Colab environment.
Fixes #600.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.