Skip to content

Show global/org registries in org/repo registries tab#6291

Merged
qwerty287 merged 3 commits into
woodpecker-ci:mainfrom
Sim-hu:feat/show-global-org-registries
Mar 22, 2026
Merged

Show global/org registries in org/repo registries tab#6291
qwerty287 merged 3 commits into
woodpecker-ci:mainfrom
Sim-hu:feat/show-global-org-registries

Conversation

@Sim-hu

@Sim-hu Sim-hu commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

Closes #5950

Currently the registries tab only shows registries defined at the current level. The secrets tab already displays inherited secrets from higher levels (global/org) with a badge — this PR brings the same behavior to registries.

Changes

  • Repo registries tab: loads registries from all three levels (repo, org, global) and deduplicates by address, giving priority to the most specific level
  • Org registries tab: loads both org-level and global registries
  • RegistryList component: shows a badge for inherited (non-editable) registries indicating whether they come from the global or organization level
  • en.json: added global_level_registry and org_level_registry translation keys

The implementation mirrors the existing secrets pattern — using usePagination with the each option to load from multiple API endpoints, then merging and sorting the results.

Display inherited registries from higher levels (global/org) in the
registries tab, matching the existing behavior of the secrets tab.

Repo-level registries tab now loads and displays registries from all
three levels (repo, org, global), and org-level registries tab shows
global registries alongside org-level ones. Non-editable inherited
registries are shown with a badge indicating their origin level.

Closes woodpecker-ci#5950

@qwerty287 qwerty287 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.

Thanks!

Comment thread web/src/components/registry/RegistryList.vue Outdated
Comment thread web/src/views/repo/settings/Registries.vue Outdated
Comment thread web/src/views/org/settings/OrgRegistries.vue Outdated
@woodpecker-bot

Copy link
Copy Markdown
Contributor

⚠️ Author was flagged as AI agent

The user Sim-hu was flagged as AI agent by AgentScan due to the following reasons:

Signal Points Detail
Extreme fork automation 85 35 repos forked within 24 hours

Review with extra care.

@qwerty287 qwerty287 added ui frontend related enhancement improve existing features labels Mar 22, 2026

@qwerty287 qwerty287 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.

Tested, seems working.

@qwerty287 qwerty287 merged commit aae3abe into woodpecker-ci:main Mar 22, 2026
7 checks passed
@woodpecker-bot woodpecker-bot mentioned this pull request Mar 22, 2026
1 task
@woodpecker-bot woodpecker-bot mentioned this pull request Apr 1, 2026
1 task
@woodpecker-bot woodpecker-bot mentioned this pull request Apr 15, 2026
1 task
@woodpecker-bot woodpecker-bot mentioned this pull request Apr 27, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve existing features ui frontend related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: show global/org registries in org/repo registries tab

3 participants