Skip to content

CI: Move the Scorecard schedule to its own slot - #136

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-135
Nov 26, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-135

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #135

Authored by an AI agent; human review required
Command Exit
git commit -s (pre-commit and commit-msg hooks via prek) 0
uvx zizmor --persona auditor .github/workflows/openssf-scorecard.yaml 0
uv run python -B -m unittest discover -s tests 0
prek run --files .github/workflows/openssf-scorecard.yaml 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.


Moves this repository's weekly OpenSSF Scorecard run from 50 4 * * 0 to 4 6 * * 0 (Sunday 06:04 UTC).

Why

About 144 lfreleng-actions repositories schedule Scorecard at 50 4 * * 0, so every Sunday their runs queue for runners and reach the GitHub API and api.scorecard.dev in the same minute. lfreleng-actions/.github#277 assigns each repository its own slot; this one gets 4 6 * * 0.

What changed

One line in .github/workflows/openssf-scorecard.yaml: the five cron fields. The indentation, the quotes, the weekly Sunday cadence (last field 0, which the Maintained check relies on), the triggers, the permissions, and the reusable workflow pin all stay the same. No other file changes.

Checks run

  • prek run --files .github/workflows/openssf-scorecard.yaml: exit 0 (yamllint, actionlint, aislop, check-jsonschema, reuse, gitlint at commit time all passed; no hook skipped)
  • uvx zizmor --persona auditor .github/workflows/openssf-scorecard.yaml: exit 0, no findings. zizmor v1.33.1 ran in its default offline mode because this runner has no GitHub token, so it skipped its online audits.
  • uv run python -B -m unittest discover -s tests: exit 0, 940 tests passed

For reviewers

  • This change implements an assigned slot from the organisation table. It is not a computed value.
  • This PR does not change any document or example that still shows 50 4 * * 0, as the issue asks.

Every lfreleng-actions repository ran Scorecard at 50 4 * * 0, so
about 144 runs queued for runners and hit the GitHub and Scorecard
APIs in the same minute each Sunday. Move this repository to its
assigned slot, Sunday 06:04 UTC, which keeps the run weekly for the
Maintained check.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the change moving the weekly OpenSSF Scorecard run to its assigned Sunday slot.

No open issues 🎉

What changed in this PR

Moves the weekly OpenSSF Scorecard run to this repository’s assigned slot, reducing simultaneous runs across the organisation and matching issue #135.

Changes:

  • Changes the schedule from Sunday 04:50 UTC to Sunday 06:04 UTC (4 6 * * 0).
  • Preserves the weekly Sunday cadence and leaves all other workflow settings unchanged.
File Description
.github/​workflows/​openssf-scorecard.yaml Updates only the cron fields to the assigned Sunday slot.

Review effort: Balanced

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit dca90b6 into lfreleng-actions:main Nov 26, 2026
32 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-135 branch November 26, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI and tests updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Move the Scorecard schedule to its own slot

2 participants