Skip to content

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

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

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

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #225

Authored by an AI agent; human review required
Command Exit
prek install -t pre-commit -t commit-msg 0
prek run --files .github/workflows/openssf-scorecard-self.yaml 0
uvx zizmor --persona=auditor --offline .github/workflows/openssf-scorecard-self.yaml 0
git commit -s -F - (pre-commit and commit-msg hooks, including gitlint) 0
AISLOP_NO_TELEMETRY=1 DO_NOT_TRACK=1 aislop scan --changes --base f86f02284e7408f8d092b1220285c8acf7950dff --json 0
prek run --files .github/workflows/openssf-scorecard-self.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.


Summary

Moves this repository's weekly OpenSSF Scorecard run from 50 4 * * 0 to 40 18 * * 0, which is Sunday at 18:40 UTC. That is the slot lfreleng-actions/.github#277 assigns to this repository.

Right now, 144 repositories in the organisation run Scorecard at the same minute every Sunday. Their runs queue for runners together and hit the GitHub API and api.scorecard.dev together. Giving each repository its own slot spreads that load out.

Change

  • .github/workflows/openssf-scorecard-self.yaml: one line. Only the five cron fields change. The indentation and quote style stay as they were.
  • The day-of-week field stays 0, so the run is still weekly and Scorecard's Maintained check keeps getting fresh results.
  • Triggers, permissions, the job and its uses: pin are unchanged, so the Scorecard API's re-verification of the calling workflow is not affected.

Checks run

  • prek run --files .github/workflows/openssf-scorecard-self.yaml, before and after the commit: exit 0. This covers yamllint, actionlint, zizmor, reuse and the workflow validators.
  • The commit-msg stage (gitlint) passed when the commit was made.
  • uvx zizmor --persona=auditor --offline .github/workflows/openssf-scorecard-self.yaml: exit 0, no findings.
  • aislop scan --changes --base <base> --json with telemetry off: exit 0, empty diagnostics array.

Reviewer notes

  • I ran aislop directly because the organisation's aislop-gate.sh script is not in this repository. The only changed file is YAML, so aislop had no Python or Go lint engine to run.
  • No hooks were skipped.

144 repositories in the organisation run OpenSSF Scorecard at the
same minute every Sunday (50 4 * * 0), so their runs queue for runners
and call the GitHub and Scorecard APIs together. Move this
repository's run to its assigned slot, Sunday 18:40 UTC, as recorded
in lfreleng-actions/.github#277. The run stays weekly on Sunday so
the Maintained check stays fresh.

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 Scorecard run to its assigned Sunday slot.

No open issues 🎉

What changed in this PR

Moves this repository’s weekly OpenSSF Scorecard run to its assigned Sunday slot, reducing simultaneous runner and API load across the organisation.

Changes:

  • Changes the schedule from Sunday at 04:50 UTC to Sunday at 18:40 UTC (40 18 * * 0), matching issue #225.
  • Preserves the weekly cadence and leaves all other workflow configuration unchanged.
File Description
.github/​workflows/​openssf-scorecard-self.yaml Updates only the cron expression to the assigned Sunday slot.

Review effort: Balanced

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 Antagonistic review by agent: no line-level findings; the summary below is the verdict.

No actionable defects found. The one-line cron change schedules Scorecard weekly on Sunday at 18:40 UTC, matching the description while leaving other triggers, permissions and job behavior unchanged.

Antagonistic round 1 of 3.


Automated antagonistic review by lf-releng-antagonistic-review-bot[bot] using model gpt-6-astra; see the run. This is not a human review and never an approval: a maintainer must still review and approve this pull request.

@zxiiro zxiiro 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.

🤖 Auto-approved by agent: reviewed workflow/code change for security and CI/CD impact, found low risk. One-line cron change moving the weekly OpenSSF Scorecard schedule to its assigned Sunday slot; no other trigger, permission, or job changes.

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit a2c5ea8 into lfreleng-actions:main Nov 26, 2026
16 checks passed
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

3 participants