Skip to content

chore: auto-create PRs for OpenFeature own artifacts#119

Merged
beeme1mr merged 1 commit into
mainfrom
chore/renovate-openfeature-artifacts-auto-pr
Mar 11, 2026
Merged

chore: auto-create PRs for OpenFeature own artifacts#119
beeme1mr merged 1 commit into
mainfrom
chore/renovate-openfeature-artifacts-auto-pr

Conversation

@aepfli

@aepfli aepfli commented Mar 11, 2026

Copy link
Copy Markdown
Member

Summary

Override dependencyDashboardApproval for all packages sourced from github.com/open-feature/** (e.g. spec, test-harness, schemas submodules) so PRs are created automatically, regardless of the local submodule path.

Changes

  • patch/minor/digest: PRs created immediately (no dashboard approval needed)
  • major: PRs created automatically every Friday

Uses matchSourceUrls so it works across all repos independent of submodule checkout path.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the dependency management workflow by automating the creation of pull requests for updates to OpenFeature's internal artifacts. By configuring Renovate to bypass the dependency dashboard for these specific dependencies, it streamlines the update process, ensuring that minor and patch updates are addressed promptly, and major updates are consolidated weekly, thereby reducing manual overhead and improving efficiency.

Highlights

  • Automated PR Creation for OpenFeature Artifacts: Introduced new package rules to automatically create pull requests for dependency updates originating from github.com/open-feature/** repositories, overriding the default dashboard approval process.
  • Immediate PRs for Minor/Patch/Digest Updates: Configured Renovate to immediately create pull requests for minor, patch, and digest updates to OpenFeature's own artifacts, bypassing the dependency dashboard.
  • Weekly PRs for Major Updates: Set up Renovate to create pull requests for major updates to OpenFeature's own artifacts on a weekly schedule, specifically every Friday, also bypassing the dependency dashboard.
  • Source URL Matching: Utilized matchSourceUrls to ensure these new rules apply consistently across all repositories, regardless of the local submodule checkout path, by matching against https://github.com/open-feature/**.
Changelog
  • default.json
    • Added two new packageRules to manage updates for OpenFeature's own artifacts.
    • Configured dependencyDashboardApproval to false for these new rules, enabling automatic PR creation.
    • Set matchSourceUrls to https://github.com/open-feature/** to target relevant dependencies.
    • Defined one rule for minor, patch, and digest updates to create PRs immediately.
    • Defined another rule for major updates to create PRs on a weekly schedule (on friday).
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the Renovate configuration to automatically create pull requests for OpenFeature's own artifacts, bypassing the dependency dashboard. It creates PRs immediately for minor, patch, and digest updates, and on Fridays for major updates. My review includes a suggestion to refactor the new rules for better conciseness and maintainability by using nested package rules.

Note: Security Review has been skipped due to the limited scope of the PR.

Comment thread default.json
Override dependencyDashboardApproval for all packages sourced from
github.com/open-feature/** so that PRs are created automatically:
- patch/minor/digest: immediately
- major: every Friday

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
@aepfli aepfli force-pushed the chore/renovate-openfeature-artifacts-auto-pr branch from 7669cda to 5b857b6 Compare March 11, 2026 08:55

@askpt askpt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense for these to be "notified" straight away instead of waiting for the dashboard. Usually they are a quick merge anyway 👍

@beeme1mr beeme1mr added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit 32553f9 Mar 11, 2026
2 checks passed
@askpt askpt deleted the chore/renovate-openfeature-artifacts-auto-pr branch March 11, 2026 11:27
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.

3 participants