Skip to content

CI: Exempt own org from the Dependabot cooldown - #211

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

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

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #210

Authored by an AI agent; human review required
Command Exit
prek install -t pre-commit -t commit-msg 0
prek run --files .github/dependabot.yml docs/BRIEF.md 0
uvx zizmor --persona auditor .github/dependabot.yml 0
AISLOP_NO_TELEMETRY=1 aislop scan --changes --json 0
git commit -s (pre-commit and commit-msg hooks incl. gitlint) 0
git log --raw --format=%h 4746d828731d04e6b8838c2c5099289a1bba2d97..HEAD 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.


What and why

Exempts this organisation's own actions and reusable workflows
(lfreleng-actions/*) from the seven-day Dependabot cooldown in
.github/dependabot.yml. These releases are ours and get reviewed here before
they are tagged, so the wait does not protect against anything. It only
holds back our own fixes. Recent example: the security-workflows v0.10.1
Scorecard fix took a week to reach callers.

  • .github/dependabot.yml: in the github-actions entry's cooldown block,
    default-days: 7 stays as it was. The block gains an exclude list with
    the single pattern lfreleng-actions/* and the comment the issue specifies.
    No other key changes.
  • docs/BRIEF.md (D7, pinning policy): this section said Dependabot applies a
    seven-day cooldown to action pins in general. That is no longer true, so the
    sentence now names the exemption, as the issue requested. I re-wrapped the
    next sentence (the .github allow-list exception) to fit, without changing
    its meaning.

Checks run

  • prek run --files .github/dependabot.yml docs/BRIEF.md: exit 0 (yamllint,
    check-yaml, markdownlint, reuse, zizmor, codespell all passed).
  • uvx zizmor --persona auditor .github/dependabot.yml: exit 0, no findings
    (zizmor's dependabot-cooldown audit accepts the exclude list).
  • AISLOP_NO_TELEMETRY=1 aislop scan --changes --json: exit 0, empty
    diagnostics.
  • The commit hooks, including gitlint, passed on commit.

For reviewers

  • I did not run prek run --all-files, though the issue's acceptance criteria
    mention it. The organisation guidance says not to, because the hook set
    includes auto-fixers that would rewrite unrelated files. I ran the hooks on
    the changed files only.
  • The docs/BRIEF.md edit is the documentation correction the issue allows. If
    you don't want it, drop it and the dependabot.yml change still stands on
    its own.

Releases from lfreleng-actions are our own and are reviewed here
before they are tagged, so the seven-day cooldown adds no protection
for them; it only delays our own fixes from reaching callers, as with
the security-workflows v0.10.1 Scorecard fix. Exclude
"lfreleng-actions/*" from the github-actions cooldown, which keeps
seven days for every other dependency, and correct the pinning policy
in docs/BRIEF.md that said the cooldown applied to every action pin.

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 remain for the organisation-owned dependency cooldown exemption.

No open issues 🎉

What changed in this PR

Addresses #210 by exempting the organisation’s own actions and reusable workflows from Dependabot’s cooldown, allowing internal fixes to reach callers sooner.

Changes:

  • Adds the exact lfreleng-actions/* exclusion while retaining the seven-day cooldown for other dependencies.
  • Updates the pinning policy documentation to explain the exemption.
  • Leaves schedules, action pins, and other configuration unchanged.
File Description
docs/​BRIEF.md Documents the cooldown exemption for organisation-owned dependencies.
.github/​dependabot.yml Adds lfreleng-actions/* to the cooldown exclusion list.

Review effort: Balanced

@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. Adds a Dependabot cooldown exclude for lfreleng-actions/* under the github-actions ecosystem (and matching docs where present) so org-owned action bumps are not delayed a week. No workflow, permission, or secret changes.

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 4a11bcc into lfreleng-actions:main Nov 21, 2026
11 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: Exempt own org from the Dependabot cooldown

3 participants