Finalize Forgejo CI/CD credential isolation #38
Labels
No labels
Compat/Breaking
Compat/Deprecation
Kind
Bug
Kind
Chore
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Investigation
Kind
Question
Kind
Security
Kind
Testing
Meta/Good First Issue
Meta/Help Wanted
Meta/Stale
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Needs More Info
Status
Needs Triage
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 5 hours 24 minutes
Due date
Xeplosion
5 hours 24 minutes
No due date set.
Dependencies
No dependencies set
Reference
XeplosionTechnologies/.forgejo#38
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type of chore
Security hardening
What needs to be done and why?
Audit and finalize the Forgejo-side credential model used by CI/CD.
Deployment and automation credentials should be scoped so that compromise or accidental misuse of one repository does not automatically grant equivalent access to unrelated repositories or services.
The previous security work already completed portions of the migration, including some organization-variable cleanup and template protections. This issue should verify the actual current configuration and finish the remaining credential isolation.
Current-state audit
Deployment credentials
Release credentials
Template / synchronization credentials
Repository protections
.forgejoassets.main.Cleanup
Validation
Documentation
Technical-debt impact
A mixed or unclear credential model makes the real trust boundary difficult to audit and increases the cost of future credential rotation or security review.
Risk / compatibility impact
Changing credential scope can immediately break deployments, releases, or synchronization.
Migrate incrementally and validate each consumer before removing superseded credentials.
Affected branch(es)
Canonical workflow/template changes, if required, should target
main.The credential configuration itself is primarily Forgejo repository/organization configuration rather than branch-specific work.
Additional context
The original security issue identified shared organization-level deployment credentials as the principal cross-repository risk; several protective steps have since been completed.
This issue owns Forgejo-side secrets, tokens, deploy keys, and repository protection, while server account/filesystem isolation is tracked separately.
Request checklist
Workflow lifecycle
Triage
Kind/classification confirmedReviewed/label assignedPriority/assigned when appropriateStatus/Needs More InforemainsStatus/Needs Triageremoved before leaving TriageBacklog
To Do
In Progress
Review Gate
Completed