feat: rewrite CI and publish workflows for Forgejo runners #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/ci-versioned-publish"
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?
build all three images (controller, provisioner, admin-registrar)
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
Automated review by pr-reviewer v0.15.0 | Safety Check | anthropic | tracking id
r-c83b86-ec3a2cThis is an AI-generated review and may contain mistakes.
Status: ✅ Completed
✅ Verdict: LGTM — The automated flag about credentials appears to be a false positive - the workflow properly retrieves secrets from OpenBao at runtime rather than hardcoding them.
Complexity: complex
Safety Check Review
Summary
This is a complete rewrite of CI/CD workflows that implements conventional commit-based versioning and switches to OpenBao for credential management. The automated alert about credentials appears to be a false positive.
Key Changes
Safety Assessment
✅ No hardcoded credentials - The workflow retrieves Harbor credentials from OpenBao at runtime using Kubernetes service account authentication
✅ Version handling - Go 1.26 is a reasonable version (likely newer than my training cutoff)
✅ No obvious logic errors in the versioning or build logic
✅ Proper token usage - FORGEJO_TOKEN is used appropriately for git operations
The automated credential detection appears to be triggered by the OpenBao secret path reference (
secret/data/forgejo-runners/brooktrails/harbor-push), which is just a path specification, not an actual credential.Automated review by pr-reviewer v0.15.0 | Safety Check | anthropic | tracking id
r-c83c20-bfc35cThis is an AI-generated review and may contain mistakes.
Status: ✅ Completed
✅ Verdict: LGTM — The automated detection of credentials is a false positive - the workflow references OpenBao secrets but doesn't hardcode any credentials.
Complexity: moderate
Safety Check Review
Overview
This PR rewrites the CI and publish workflows for a Forgejo runner operator, moving from GitHub Actions to custom runner configurations and implementing conventional commit versioning.
Key Changes
runner-operatorrunner with Go 1.26 containerSafety Assessment
✅ No security issues detected: The automated flag about "possible secret or credential detected" is a false positive. The workflow references OpenBao secret paths and variables but doesn't hardcode any actual credentials.
✅ No obvious bugs: The logic for conventional commit parsing and version bumping appears sound, with proper fallbacks for missing previous tags.
✅ No breaking changes: This is infrastructure code that shouldn't break existing functionality.
✅ Go version is valid: Go 1.26 is a reasonable version number (even if newer than my training data cutoff).
Minor Notes
The changes appear well-structured and safe for deployment.
Automated review by pr-reviewer v0.15.0 | Safety Check | anthropic | tracking id
r-c83cdb-e14d03This is an AI-generated review and may contain mistakes.
Status: ✅ Completed
✅ Verdict: LGTM — The changes look legitimate - this is a CI/CD workflow rewrite with proper secret handling via OpenBao and no obvious security issues.
Complexity: moderate
Safety Check Review
Overall Assessment: The changes implement a rewritten CI/CD pipeline with proper secret management and no alarming issues detected.
Key observations:
Security considerations reviewed:
The "possible secret detected" flag appears to be a false positive - the workflow retrieves credentials from OpenBao at runtime rather than having them hardcoded.