Skip to content

chore(registry): fix registry comment workflow#7554

Merged
jdx merged 14 commits intojdx:mainfrom
risu729:registry-workflows
Jan 11, 2026
Merged

chore(registry): fix registry comment workflow#7554
jdx merged 14 commits intojdx:mainfrom
risu729:registry-workflows

Conversation

@risu729
Copy link
Contributor

@risu729 risu729 commented Jan 2, 2026

The workflow stopped working after the registry format change.


Note

Modernizes registry CI by centralizing tool-diff logic and refining conditions.

  • Adds composite action ./.github/actions/registry-diff to compute modified_tools and new_tools from registry.toml
  • Updates registry-comment.yml: rename workflow, replace ad-hoc grep logic with the new action, switch to snake_case outputs, and adjust title-validation conditions and PR comment gating
  • Refactors registry.yml to use the new action for listing changed tools, add a workflow-self-change check, and fall back to testing all tools when count > 30
  • In registry.toml, updates tools.firebase backends to include npm:firebase-tools and disables its version test with a note about 15.2.0

Written by Cursor Bugbot for commit 97f3ffb. This will update automatically on new commits. Configure here.

Copilot AI review requested due to automatic review settings January 2, 2026 21:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors duplicate registry tool detection logic by extracting it into a reusable composite GitHub Action. The refactoring improves maintainability by consolidating the logic for detecting modified and new tools in registry.toml into a single, shared action.

  • Creates a new composite action .github/actions/registry-diff that detects modified and new tools in the registry
  • Updates two workflows (registry_comment.yml and registry.yml) to use the new shared action
  • Standardizes output naming from kebab-case to snake_case for job outputs

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/actions/registry-diff/action.yml New composite action that uses yj to parse registry.toml and compare tool changes between commits, outputting both modified and new tools
.github/workflows/registry_comment.yml Replaced inline bash script for detecting new tools with the new registry-diff action; updated output naming convention to snake_case
.github/workflows/registry.yml Replaced inline tool diff logic with the new registry-diff action; extracted workflow file change check into a separate step for clarity

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

risu729 and others added 3 commits January 3, 2026 06:23
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@risu729 risu729 force-pushed the registry-workflows branch from b1153cb to 011d7a1 Compare January 3, 2026 17:52
@jdx
Copy link
Owner

jdx commented Jan 5, 2026

bugbot run

@jdx jdx marked this pull request as draft January 5, 2026 13:28
@risu729
Copy link
Contributor Author

risu729 commented Jan 7, 2026

@jdx can you try manually syncing sonar-scanner-cli to D1?
https://mise-versions.jdx.dev/sonar-scanner-cli still returns the old version as the latest, but https://mise-versions.jdx.dev/tools/sonar-scanner-cli doesn't, so I think it's a DB issue.

@risu729
Copy link
Contributor Author

risu729 commented Jan 8, 2026

Thank you! It's fixed now.

@risu729 risu729 marked this pull request as ready for review January 8, 2026 09:06
@jdx
Copy link
Owner

jdx commented Jan 11, 2026

bugbot run

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no bugs!

@jdx jdx merged commit f046432 into jdx:main Jan 11, 2026
45 checks passed
@risu729 risu729 deleted the registry-workflows branch January 12, 2026 07:21
jdx pushed a commit that referenced this pull request Jan 13, 2026
### 🐛 Bug Fixes

- **(backend)** filter pre-release versions with latest + install_before
by @koh-sh in [#7631](#7631)
- **(docs)** formatting in configuration hierarchy section by
@jonathanagustin in [#7638](#7638)
- **(npm)** migrate npm publish to OIDC trusted publishing by @jdx in
[#7607](#7607)
- **(registry)** correct checkmake version test pattern by @jdx in
[#7632](#7632)
- **(release)** handle empty grep result in aqua-registry changelog by
@jdx in
[f45b4c6](f45b4c6)
- **(self-update)** self-update fails across year boundary due to semver
mismatch by @jdx in [#7611](#7611)
- **(tasks)** fix tool inheritance from intermediate parents by @chadxz
in [#7637](#7637)
- add `-test` to VERSION_REGEX prerelease filter by @belgio99 in
[#7647](#7647)

### 📚 Documentation

- **(tasks)** remove documentation for unimplemented features by
@turbocrime in [#7599](#7599)
- update `mise aliases` references to `mise tool-alias` by @muzimuzhi in
[#7615](#7615)
- use call operator in PowerShell profile example by @shina1024 in
[#7639](#7639)
- replace ASCII .pub key with binary .gpg for signed-by on Ubuntu/Debian
by @gmalinowski in [#7649](#7649)

### 🛡️ Security

- **(security)** prevent code execution from untrusted fork in
registry-comment workflow by @jdx in
[4a2441e](4a2441e)

### ◀️ Revert

- Revert "fix(release): handle empty grep result in aqua-registry
changelog" by @jdx in
[522ffdc](522ffdc)
- Revert "chore(release): include manually updated aqua-registry entries
in the changelog " by @jdx in
[1ebb943](1ebb943)

### 📦️ Dependency Updates

- update ghcr.io/jdx/mise:alpine docker digest to fbfffcf by
@renovate[bot] in [#7619](#7619)
- lock file maintenance by @renovate[bot] in
[#7646](#7646)

### 📦 Registry

- add hatoo/oha tool by @jylenhof in
[#7633](#7633)

### Chore

- **(registry)** fix registry comment workflow by @risu729 in
[#7554](#7554)
- **(release)** include manually updated aqua-registry entries in the
changelog by @risu729 in [#7603](#7603)

### New Contributors

- @belgio99 made their first contribution in
[#7647](#7647)
- @gmalinowski made their first contribution in
[#7649](#7649)
- @chadxz made their first contribution in
[#7637](#7637)
- @shina1024 made their first contribution in
[#7639](#7639)
- @jonathanagustin made their first contribution in
[#7638](#7638)
- @turbocrime made their first contribution in
[#7599](#7599)

## 📦 Aqua Registry Updates

#### New Packages (3)

- [`ampcode/zvelte-check`](https://github.com/ampcode/zvelte-check)
- [`nickel-lang/nickel`](https://github.com/nickel-lang/nickel)
- [`openshift/rosa`](https://github.com/openshift/rosa)
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