Repository navigation
ci: run the starters nightly on main and on demand - #11
Merged
Merged
Conversation
Add a schedule trigger (05:53 UTC every day) and workflow_dispatch to starters.yml, keeping the push and pull_request triggers. No job reads pull-request context, so discover, test and All starters run unchanged on a scheduled or dispatched run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a nightly run to
starters.yml("Starters"), so a main that goes red without a push (a runner image, a new Node patch release, a registry change, an expiring date in a fixture) shows up the next morning.What changed
on:gainsschedulewith cron53 5 * * *(05:53 UTC every day) andworkflow_dispatch. Thepushandpull_requesttriggers stay as they were. The minute is off the hour because GitHub delays scheduled runs at the start of every hour.discover,test,All starters) readsgithub.event.pull_request.*,github.head_ref,github.base_ref,github.event.beforeorgithub.event_name, or diffs against a PR base:discoverlists starters fromgit ls-files,testrunsnpm ciandnpm testper starter, andAll startersreads the two job results. A scheduled run tests the latest commit on main with the same jobs and the same check names.Note: each starter installs from its committed
package-lock.json(npm ci), so the nightly run tests the locked@cosyte/*versions, not the newest published ones. Moving a starter to a new library version stays a lockfile change in a pull request.Checks
actionlint .github/workflows/*.yml: clean.bash scripts/check-no-emdash.sh: OK.workflow_dispatchrun on this branch passed:discover, all 20 starter jobs (10 starters on Node 22 and 24) andAll starters. https://github.com/cosyte/examples/actions/runs/39359016143Harness-Task: 53
🤖 Generated with Claude Code