feat(actions): show inherited org secrets/variables in repo settings #81

Merged
jmiller merged 1 commits from feature/inherited-org-secrets into main 2026-05-13 01:17:19 +00:00
Owner

Summary

Mimics GitHub behavior: repo-level Actions settings now display inherited org secrets and variables as read-only entries.

Changes

  • routers/web/shared/secrets/secrets.go � fetch org secrets when viewing repo secrets
  • routers/web/shared/actions/variables.go � fetch org variables when viewing repo variables
  • templates/shared/secrets/add_list.tmpl � inherited org secrets section with override badges
  • templates/shared/variables/variable_list.tmpl � inherited org variables section with override badges
  • options/locale/locale_en-US.json � new locale keys for override labels

Behavior

  • Org secrets shown with org icon, read-only (no edit/delete buttons)
  • "overridden by repository" badge when a repo secret has the same name
  • Link to org settings for managing org-level entries
  • Variables show actual values (not masked), secrets show ******

Closes #78

## Summary Mimics GitHub behavior: repo-level Actions settings now display inherited org secrets and variables as read-only entries. ## Changes - `routers/web/shared/secrets/secrets.go` � fetch org secrets when viewing repo secrets - `routers/web/shared/actions/variables.go` � fetch org variables when viewing repo variables - `templates/shared/secrets/add_list.tmpl` � inherited org secrets section with override badges - `templates/shared/variables/variable_list.tmpl` � inherited org variables section with override badges - `options/locale/locale_en-US.json` � new locale keys for override labels ## Behavior - Org secrets shown with org icon, read-only (no edit/delete buttons) - "overridden by repository" badge when a repo secret has the same name - Link to org settings for managing org-level entries - Variables show actual values (not masked), secrets show ****** Closes #78
jmiller added 1 commit 2026-05-13 01:08:07 +00:00
feat(actions): show inherited org secrets/variables in repo settings
Branch Policy Check / Verify merge target (pull_request) Failing after 10m5s
c0fccaa759
When viewing repo-level Actions secrets or variables, also display
inherited org-level entries as read-only with an "overridden by
repository" badge when a repo entry shadows an org entry. Includes
a link to org settings for management.

Closes #78

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit a26d0bff90 into main 2026-05-13 01:17:19 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#81