Skip to content

GH Actions: fix pins and change Dependabot frequency#362

Merged
sirbrillig merged 2 commits intosirbrillig:2.xfrom
jrfnl:feature/ghactions-improve-pins-dependabot
Mar 10, 2026
Merged

GH Actions: fix pins and change Dependabot frequency#362
sirbrillig merged 2 commits intosirbrillig:2.xfrom
jrfnl:feature/ghactions-improve-pins-dependabot

Conversation

@jrfnl
Copy link
Copy Markdown
Collaborator

@jrfnl jrfnl commented Mar 10, 2026

Follow up on #361

GH Actions: fix pins

... to allow Dependabot to keep updating them.

Dependabot: update config

👉 Important: this is for version updates only, not for security updates, which are handled separately and don't depend on this configuration.


This commit makes the following changes to the Dependabot config to reduce the number of Dependabot PRs, while still keeping the workflows up to date with a reasonable frequency:

  • It introduces a "group".
    By default Dependabot raises individual PRs for each update. Now, it will group updates to new minor or patch release for all action runners into a single PR.
    Updates to new major releases of action runners will still be raised as individual PRs.
  • It changes the schedule from weekly (on Monday, at whatever time this repo reaches the front of the HUGE queue which it will always have on Monday) to twice a month at a specific time which is not midnight.
    Aside from making the PRs less frequent, it should also make the arrival time more predictable as the queue created at 22:10 (in whatever timezone Dependabot runs in) will be next to nothing as it would need more repos to use this exact configuration.

Refs:

jrfnl added 2 commits March 10, 2026 16:08
... to allow Dependabot to keep updating them.
👉 Important: this is for **version** updates only, not for security updates, which are handled separately and don't depend on this configuration.

---

This commit makes the following changes to the Dependabot config to reduce the number of Dependabot PRs, while still keeping the workflows up to date with a reasonable frequency:
* It introduces a "group".
    By default Dependabot raises individual PRs for each update. Now, it will group updates to new minor or patch release for all action runners into a single PR.
    Updates to new major releases of action runners will still be raised as individual PRs.
* It changes the schedule from `weekly` (on Monday, at whatever time this repo reaches the front of the HUGE queue which it will always have on Monday) to twice a month at a specific time which is not midnight.
    Aside from making the PRs less frequent, it should also make the arrival time more predictable as the queue created at 22:10 (in whatever timezone Dependabot runs in) will be next to nothing as it would need more repos to use this exact configuration.

Refs:
* https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/optimizing-pr-creation-version-updates
* https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
@jrfnl jrfnl added the github_actions Pull requests that update GitHub Actions code label Mar 10, 2026
Copy link
Copy Markdown
Owner

@sirbrillig sirbrillig left a comment

Choose a reason for hiding this comment

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

Oh! Cool. Yes, this sounds like a great improvement.

@sirbrillig
Copy link
Copy Markdown
Owner

Thank you!!

@sirbrillig sirbrillig merged commit 65f39fc into sirbrillig:2.x Mar 10, 2026
33 checks passed
@jrfnl jrfnl deleted the feature/ghactions-improve-pins-dependabot branch March 10, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants