Repository navigation
chore: switch from Dependabot to Renovate and automate dependency changelog - #513
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Migrates automated dependency updates from Dependabot to Renovate and adds automation to keep CHANGELOG.md updated for Renovate PRs, while also pinning CI container jobs to a repo-declared devcontainer image version.
Changes:
- Replace Dependabot configs with Renovate configs (root + workspace/smoke-test templates) and add a shared Renovate preset.
- Add Renovate-driven changelog automation via a new
renovate-changelog-prCLI andpull_request_targetworkflows (root + workspace template). - Introduce
.vig-os+resolve-imageto resolve/pin the devcontainer image tag for containerized CI workflows; extend workspace init/install to resolveGITHUB_REPOSITORY.
Reviewed changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
tests/conftest.py |
Adjusts init-workspace test harness for new GITHUB_REPOSITORY handling and an added Renovate prompt stage. |
tests/bats/install.bats |
Adds BATS coverage for install.sh --repo and default GITHUB_REPOSITORY behavior. |
tests/bats/init-workspace.bats |
Adds BATS coverage for parsing GitHub remotes and resolving GITHUB_REPOSITORY. |
scripts/manifest.toml |
Updates workspace sync manifest to include resolve-image action and renovate-changelog workflow; drops Dependabot sync. |
renovate.json |
Adds root Renovate configuration extending the shared preset. |
packages/vig-utils/tests/test_renovate_changelog_pr.py |
Adds unit tests for Renovate PR parsing and changelog insertion behavior. |
packages/vig-utils/src/vig_utils/renovate_changelog_pr.py |
Implements Renovate PR metadata parsing + Keep-a-Changelog insertion CLI. |
packages/vig-utils/pyproject.toml |
Exposes renovate-changelog-pr as a console script. |
install.sh |
Adds --repo and auto-detection to supply GITHUB_REPOSITORY into init-workspace.sh --no-prompts. |
Containerfile |
Extends placeholder manifest generation to include {{GITHUB_REPOSITORY}}. |
CHANGELOG.md |
Documents Renovate migration, changelog automation, and image pinning changes. |
assets/workspace/renovate.json |
Adds workspace template Renovate config using {{GITHUB_REPOSITORY}} for preset resolution. |
assets/workspace/.github/workflows/renovate-changelog.yml |
Adds workspace-template workflow to auto-append changelog entries for Renovate PRs. |
assets/workspace/.github/renovate-default.json |
Adds shared Renovate preset with grouping/semantic commit conventions. |
assets/workspace/.github/dependabot.yml |
Removes workspace template Dependabot configuration. |
assets/workspace/.devcontainer/CHANGELOG.md |
Syncs changelog content into workspace template copy. |
assets/smoke-test/renovate.json |
Adds Renovate configuration for the smoke-test template. |
assets/parse-github-remote-lib.sh |
Adds reusable parsing + interactive/non-interactive resolution for GITHUB_REPOSITORY. |
assets/init-workspace.sh |
Preserves renovate.json, resolves GITHUB_REPOSITORY, and replaces the new placeholder during init. |
.vig-os |
Adds repo-level devcontainer version source-of-truth for CI container image resolution. |
.github/workflows/sync-main-to-dev.yml |
Runs sync workflow inside pinned devcontainer image and switches branch creation to git push. |
.github/workflows/sync-issues.yml |
Runs sync workflow inside pinned devcontainer image and updates git safe.directory handling. |
.github/workflows/renovate-changelog.yml |
Adds root workflow to auto-append changelog entries for Renovate PRs. |
.github/workflows/release.yml |
Updates .vig-os to the final release version during finalization. |
.github/dependabot.yml |
Removes root Dependabot configuration. |
.github/CODEOWNERS |
Updates ownership from Dependabot config to Renovate config/preset. |
.github/actions/resolve-image/action.yml |
Adds composite action to resolve/validate the CI devcontainer image tag from .vig-os. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
GitHub Actions sets GITHUB_REPOSITORY for the job; subshells inherited it and short-circuited resolve_github_repository before reading git origin. Refs: #509
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 27 out of 27 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implements #509 (switch from Dependabot to Renovate for dependency updates, including template paths Dependabot could not scan) and #506 (automatic
CHANGELOG.mdupdates on Renovate PRs viapull_request_targetandrenovate-changelog-pr). Adds.vig-os+resolve-imagesosync-issuesandsync-main-to-devrun in the pinned devcontainer image;install.sh/init-workspace.shresolveGITHUB_REPOSITORYfor templatedrenovate.json.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
dev(includes merge commit fromorigin/dev).dependabot.yml; addrenovate.json,assets/workspace/renovate.json,renovate-default.json, smoke-testrenovate.json; updateCODEOWNERS..vig-os,.github/actions/resolve-image/,release.ymlstep to bumpDEVCONTAINER_VERSIONon final release;sync-issues.yml/sync-main-to-dev.ymluse resolved GHCR tag,safe.directory, dropsetup-env/ inlined retry; sync branch creation usesgit push.parse-github-remote-lib.sh,Containerfileplaceholder manifest,install.sh --repo,init-workspace.sh+ BATS/install/conftest updates.renovate_changelog_pr.py, tests, console script inpyproject.toml, root + workspacerenovate-changelog.yml;scripts/manifest.tomlsyncs new paths.CHANGELOG.mdand syncedassets/workspace/.devcontainer/CHANGELOG.md.Changelog Entry
Added
renovate-changelog-prCLI tool parses Renovate PR metadata and inserts Keep-a-Changelog entries under## Unreleasedrenovate-changelogworkflow runs onpull_request_targetforrenovate[bot]PRs in both upstream and workspace template.vig-osfile at repo root declaresDEVCONTAINER_VERSIONas the single source of truth for CI container image tagsresolve-imagecomposite action resolves the image tag and validates it exists in GHCRGITHUB_REPOSITORYresolution for workspace init (#509)parse-github-remote-lib.shextractsowner/repofrom HTTPS, SSH, andgit@GitHub URLsinstall.shgains--repoflag;init-workspace.shreplaces{{GITHUB_REPOSITORY}}in workspace template filesChanged
.github/dependabot.ymlwithrenovate.jsonand sharedrenovate-default.jsonpresetsync-issuesandsync-main-to-devuseresolve-imageand run inside the pinned devcontainer, removing thesetup-envcomposite action dependency and the inlined retry helpersync-main-to-devcreates sync branches viagit pushinstead of the GitHub refs APIRemoved
.github/dependabot.ymlandassets/workspace/.github/dependabot.ymlTesting
just test)Manual Testing Details
N/A (CI and scripted tests cover changes; Renovate/changelog workflow validates in GitHub after merge).
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
origin/devbefore PR (includes unrelated doc sync underdocs/pull-requests/).docs:(notdocs(changelog):) due to commit-msg scope allowlist.Refs: #509, #506