Skip to content

chore(release): treat chore(deps) commits as patch version bumps#25

Open
cwaits6 wants to merge 9 commits intomainfrom
chore/semantic-release-config
Open

chore(release): treat chore(deps) commits as patch version bumps#25
cwaits6 wants to merge 9 commits intomainfrom
chore/semantic-release-config

Conversation

@cwaits6
Copy link
Copy Markdown
Owner

@cwaits6 cwaits6 commented Apr 12, 2026

Summary

  • Configure semantic-release to recognize `chore(deps)` commits as patch-level version bumps
  • Configure Renovate to schedule wolfi-base updates for Monday automerge with lock file maintenance

Changes

  1. .releaserc.json: Add releaseRules to treat `chore(deps)` as patch bumps
  2. renovate.json: Group wolfi-base with lock file maintenance, automerge before 6am Monday

Rationale

  • Dependency updates affect the delivered artifact but aren't "bugfixes" - using `chore:` is more accurate
  • Patch bumps still signal consumers to update
  • Wolfi-base on Monday schedule reduces noise, batches with lock file maintenance
  • 3-day minimum release age (from shared config) ensures stability before updating

Summary by CodeRabbit

  • Documentation

    • Added a centered project icon and expanded the README with a clearer problem description, "Why This Matters" highlights, improved hosted index docs, and a curl-based "Test it" example.
    • Reworked hosted/self-hosting guidance with a concise pointer to deployment and an explicit example URL format.
  • Chores

    • Updated release tooling to treat dependency chore commits as patch releases.
    • Added dependency update automation rules for a specific Docker package, with scheduled automerge.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b6bed44a-a31e-4655-9800-23b4a55abfb5

📥 Commits

Reviewing files that changed from the base of the PR and between 48570a8 and 462750d.

📒 Files selected for processing (1)
  • renovate.json
✅ Files skipped from review due to trivial changes (1)
  • renovate.json

📝 Walkthrough

Walkthrough

This PR updates semantic-release plugin config to add releaseRules for dependency chores, adds a Renovate packageRule targeting a specific Docker package, and expands README with a centered icon, clarified hosted-index docs, and deployment/self-hosting guidance.

Changes

Cohort / File(s) Summary
Release configuration
.releaserc.json
Changed @semantic-release/commit-analyzer entry from a string to a tuple and added releaseRules to mark type: "chore", scope: "deps" commits as patch releases.
Dependency automation
renovate.json
Added a packageRules entry for Docker datasource matching cgr.dev/chainguard/wolfi-base, assigning updates to "Lock file maintenance", enabling automerge: true, and setting an automergeSchedule.
Documentation
README.md, docs/assets/icon.svg
Inserted centered project icon, expanded problem description and "Why This Matters", updated hosted-index examples to use {{packageName}} and a `curl ...

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Poem

🐰 I hopped through configs, tweaked the release,
I nudged the chores so patches won't cease.
An icon now gleams above the readme so bright,
Renovate nudges keep updates polite.
Hooray — a small hop to keep builds light! 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately reflects the main change: configuring semantic-release to treat chore(deps) commits as patch version bumps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/semantic-release-config

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Around line 32-36: The README currently shows only the x86_64 URL template;
add a second line with the aarch64 template so both architectures are explicitly
documented — update the section that contains the x86_64 template (the URL
string "https://cwaits6.github.io/apk-datasource/x86_64/{{packageName}}.json")
to include an adjacent line with
"https://cwaits6.github.io/apk-datasource/aarch64/{{packageName}}.json" so ARM
users have the correct endpoint.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fa2a34d6-0148-4ac0-9c80-36b06a341458

📥 Commits

Reviewing files that changed from the base of the PR and between 4bd471e and 48570a8.

⛔ Files ignored due to path filters (1)
  • docs/assets/icon.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • .releaserc.json
  • README.md

Comment thread README.md
Comment on lines +32 to +36
A public index for Wolfi x86_64 and aarch64 packages is hosted on GitHub Pages and refreshed every 4 hours. Point your Renovate config directly at it — no server to run:

```text
https://cwaits6.github.io/apk-datasource/x86_64/{{packageName}}.json
```
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Clarify hosted URL templates for both architectures.

Line 32 says both x86_64 and aarch64 are hosted, but the template shown only uses x86_64. Please add the aarch64 template too so ARM users don’t accidentally copy the wrong endpoint.

✏️ Suggested doc tweak
 A public index for Wolfi x86_64 and aarch64 packages is hosted on GitHub Pages and refreshed every 4 hours. Point your Renovate config directly at it — no server to run:
 
 ```text
 https://cwaits6.github.io/apk-datasource/x86_64/{{packageName}}.json
+https://cwaits6.github.io/apk-datasource/aarch64/{{packageName}}.json
</details>

<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

```suggestion
A public index for Wolfi x86_64 and aarch64 packages is hosted on GitHub Pages and refreshed every 4 hours. Point your Renovate config directly at it — no server to run:

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 32 - 36, The README currently shows only the x86_64
URL template; add a second line with the aarch64 template so both architectures
are explicitly documented — update the section that contains the x86_64 template
(the URL string
"https://cwaits6.github.io/apk-datasource/x86_64/{{packageName}}.json") to
include an adjacent line with
"https://cwaits6.github.io/apk-datasource/aarch64/{{packageName}}.json" so ARM
users have the correct endpoint.

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.

1 participant