Repository navigation
Description
Problem
Every OpenSSF Scorecard caller in the organisation runs on the same weekly schedule:
schedule:
- cron: "50 4 * * 0"130 repositories carry this line in .github/workflows/openssf-scorecard.yaml, so every Sunday about 130 workflow runs start within roughly a minute of each other. Each run calls the security-workflows Scorecard lane, which has three jobs (Validate Workflow Inputs, Scan, Link), so about 390 jobs are queued at once. On 2026-10-11 the scheduled runs in actions-template, cbom-action, tox-run-action, zizmor-scan-action and python-build-action all started between 04:57 and 04:58 UTC.
The burst can cause:
- runner queueing and slow starts for everything else scheduled around that time;
- simultaneous GitHub API traffic from every scan, using the same rate-limit windows;
- about 130 simultaneous
POSTs toapi.scorecard.dev.
The three repository templates (actions-template, workflows-template, bots-template) carry the same line, so every new repository joins the burst.
The count is as it stood on 2026-10-15. On 2026-11-26 the organisation
has 144 scheduled Scorecard callers, all on 50 4 * * 0.
Decision (2026-11-26)
Every caller gets its own minute on Sunday, spread over the whole day,
so that no two start together.
- The grid. Slots sit at minute-of-day
4 + 9kUTC, forkfrom 0
to 159: 00:04, 00:13, and so on to 23:55. Nine minutes apart, 160
slots. No slot falls on the hour, when GitHub delays scheduled
workflows most, nor on the half hour. - The assignment. The 144 callers, sorted by name, are
spread evenly over the grid, which leaves 16 spare slots
across the day. The table below is the record: it is not recomputed
when a repository is added, since that would move every other
repository. - Still weekly, still Sunday. Only the hour and the minute change.
A hash of the repository name, as first proposed here, would on
average have left about seven pairs of repositories sharing a minute,
even spread over all 24 hours. - A new repository takes a spare grid slot, and once those are gone
any unused minute that is not:00or:30. Add it to the table.
Spare slots (UTC, Sunday): 01:25, 02:55, 04:25, 05:55, 07:25, 08:55, 10:25, 11:55, 13:25, 14:55, 16:25, 17:55, 19:25, 20:55, 22:25, 23:55.
Work
Status at 00:50 UTC on 2026-11-27: 139 of the 142 callers left in
the table are merged and on their slot, each on its own minute. The
three still on 50 4 * * 0 are the templates, whose pull requests
await a maintainer's approval.
- One issue per caller, each naming its slot and the exact line to
change: the table below. 139 were worked by the code monkey on
2026-11-26 and all 139 pull requests are merged. A first dispatch
of eight runs at once hit the API rate limit of the account the
sessions run on, after 102; a second, one agent at a time,
finished the rest. - Two repositories are being retired and need no slot.
python-project-metadata-actionis archived. Its issue,
CI: Move the Scorecard schedule to its own slot python-project-metadata-action#239, is still
open because an archived repository is read-only.
python-dynamic-version-actionis deprecated and not yet
archived, so it still runs at50 4 * * 0until it is; Archive repositories containing legacy/deprecated actions #141
tracks that. Their slots, 15:31 and 15:13, are free. - The three templates. The code monkey does not work template
repositories, so these were made by hand. Each moves the slot and
adds a comment telling whoever creates a repository from the
template to take a new one. All three have a clean Copilot review
of their head commit and await a maintainer's approval:
CI: Move the Scorecard schedule to its own slot actions-template#299,
CI: Move the Scorecard schedule to its own slot workflows-template#137 and
CI: Move the Scorecard schedule to its own slot bots-template#74. - CI: Flag repositories sharing a Scorecard slot #400: a weekly check that reports repositories sharing a slot.
Its pull request, CI: Flag repositories sharing a Scorecard slot #404, is open and has reached the bot's
ten-round review cap. -
security-workflows/examples/openssf-scorecard/github.yamlstill
shows50 4 * * 0. It is the example other organisations copy,
so it wants a comment telling the adopter to choose a minute. No
issue yet.
Not in scope, noted while counting
Three smaller groups also share a schedule: six codeql.yaml callers
on 27 3 * * 6, three codeql.yml on 40 4 * * 0, and two
security-scans.yaml on 31 3 * * 0. Those counts are from local
clones, which include three archived repositories. bots-template's
bot-cron.yaml has its schedule commented out, so bots created from
it no longer inherit one.
Slots
Constraints
- Keep the schedule weekly and on the default branch. Scorecard's
Maintainedcheck relies on a periodic run, and upstream supports onlypushandscheduleon the default branch for published results. - Change only the
cronvalue. The Scorecard API re-verifies the calling workflow before accepting published results, so the rest of the file's shape (triggers, permissions, no top-levelenv/defaults) must stay as it is.
Acceptance
- No two Scorecard callers share a minute.
- New repositories from the templates do not stay on a shared slot
(CI: Flag repositories sharing a Scorecard slot #400). - A later scheduled run still publishes a Scorecard v5.6.0 result
for each repository: noUnable to POSTin the run log, and an
api.scorecard.devresult dated after the run.
Activity
CI: Move Scorecard schedule to its own slot
CI: Move Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move Scorecard schedule to its own slot
CI: Move Scorecard schedule to its own slot
CI: Move Scorecard schedule to its own slot
CI: Move Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move Scorecard schedule to its own slot
55 remaining items
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot
ModeSevenIndustrialSolutions commentedon Nov 27, 2026
Closing: every caller the bot could work is on its own slot
Checked at 00:50 UTC on 2026-11-27 against each default branch: 139
repositories carry the slot the table assigns them, and no two share a
minute.
What is left has its own issue or pull request:
50 4 * * 0, so they share aminute with each other until these merge:
CI: Move the Scorecard schedule to its own slot actions-template#299,
CI: Move the Scorecard schedule to its own slot workflows-template#137 and
CI: Move the Scorecard schedule to its own slot bots-template#74.
python-dynamic-version-actionalso runs at50 4 * * 0until itis archived (Archive repositories containing legacy/deprecated actions #141).
reports a repository created from a template that keeps the
template's minute.
security-workflows/examples/openssf-scorecard/github.yaml, stillshows
50 4 * * 0. No issue tracks it.One acceptance criterion cannot be checked yet: that a scheduled run on
the new slots still publishes a Scorecard result. The first such runs
are on Sunday 29 November. Reopen this if any of them logs
Unable to POST.CI: Move the Scorecard schedule to its own slot
CI: Move the Scorecard schedule to its own slot