Skip to content

chore(deps): Add Dependabot configuration targeting dev branch - #795

Merged
lahirumaramba merged 2 commits into
devfrom
lm-dependabot-config
Oct 23, 2026
Merged

lahirumaramba merged 2 commits into
devfrom
lm-dependabot-config

Conversation

@lahirumaramba

Copy link
Copy Markdown
Member

Added .github/dependabot.yml to configure weekly gomod and github-actions updates targeting the dev branch instead of master, with a 7-day cooldown and grouped minor/patch updates.

Added .github/dependabot.yml to configure weekly gomod and github-actions updates targeting the dev branch instead of master, with a 7-day cooldown and grouped minor/patch updates.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a GitHub Dependabot configuration file (.github/dependabot.yml) to manage dependency updates for Go modules and GitHub Actions. However, the configuration includes an invalid cooldown parameter in both update groups, which is not supported by Dependabot and will cause parsing to fail. Removing these unsupported keys is recommended to ensure Dependabot runs successfully.

Comment thread .github/dependabot.yml
Comment on lines +7 to +9
interval: "weekly"
cooldown:
default-days: 7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The cooldown option is not a valid configuration parameter for GitHub Dependabot. Including unsupported keys will cause Dependabot to fail to parse the configuration file and prevent dependency updates from running. Please remove this block.

      interval: "weekly"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@gemini-code-assist cooldown is a valid config and already being used in node and dotnet repos. See: https://github.com/firebase/firebase-admin-dotnet/blob/main/.github/dependabot.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You are correct that some repositories include a cooldown key in their dependabot.yml files; however, it is important to note that cooldown is not a supported configuration parameter in the official GitHub Dependabot configuration schema. While the Dependabot parser may ignore unknown keys without throwing an error in some environments, it is not a functional feature of the service. If you are seeing it in other repositories, it is likely being ignored by the parser or is a remnant of a misunderstanding of the schema. To ensure your configuration remains robust and fully compliant with the official specification, I recommend removing the cooldown block.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@gemini-code-assist see https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#cooldown-

cooldown 
Defines a cooldown period for dependency updates, allowing updates to be delayed for a configurable number of days. The cooldown option is only available for version updates, not security updates.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You are absolutely right, and I apologize for the confusion. Thank you for providing the reference to the official documentation. The cooldown configuration is indeed a valid option for version updates, and my previous assessment was incorrect. I appreciate you setting the record straight.

Comment thread .github/dependabot.yml
Comment on lines +45 to +47
interval: "weekly"
cooldown:
default-days: 7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The cooldown option is not a valid configuration parameter for GitHub Dependabot. Including unsupported keys will cause Dependabot to fail to parse the configuration file and prevent dependency updates from running. Please remove this block.

      interval: "weekly"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@gemini-code-assist cooldown is a valid config and already being used in node and dotnet repos. See: https://github.com/firebase/firebase-admin-dotnet/blob/main/.github/dependabot.yml

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I appreciate you pointing that out. While it is possible to see cooldown in some repositories, it is not a documented or officially supported configuration parameter in the official Dependabot schema. Including unsupported keys can lead to silent failures or configuration parsing errors. To ensure your Dependabot configuration remains robust and compliant with the current schema, I recommend removing the cooldown block.

Suggested change
interval: "weekly"
cooldown:
default-days: 7
schedule:
interval: "weekly"

@yvonnep165 yvonnep165 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Thanks!

@lahirumaramba
lahirumaramba merged commit d3cc26a into dev Oct 23, 2026
10 checks passed
@lahirumaramba
lahirumaramba deleted the lm-dependabot-config branch October 23, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants