fj secret/variable: add --org scope for shared CI credentials #148

Merged
stephen merged 1 commit from feat/137-org-secrets-vars into main 2026-06-11 02:28:27 +00:00
Owner

Adds --org <name> scope to fj secret and fj variable so they manage org-level (shared CI) secrets and variables, not just repo-level, via the Forgejo org actions secrets/variables API.

  • --org sets/gets/lists/deletes org secrets and variables.
  • Repo-level behavior is unchanged when --org is omitted.
  • Secret values are never printed and are redacted in output/errors; tests embed no real secrets.

Authored by the codex-1 lane; local gates (cargo fmt --check, cargo clippy --all-targets --all-features -- -D warnings, cargo test --all) all pass. Opened by the lead because the agent lane's fj auth is temporarily unavailable on the box (see rasterstate/fj#147).

Mandatory review (secrets change): requires a cross-family review before merge.

Fixes rasterstate/fj#137

Adds `--org <name>` scope to `fj secret` and `fj variable` so they manage org-level (shared CI) secrets and variables, not just repo-level, via the Forgejo org actions secrets/variables API. - `--org` sets/gets/lists/deletes org secrets and variables. - Repo-level behavior is unchanged when `--org` is omitted. - Secret values are never printed and are redacted in output/errors; tests embed no real secrets. Authored by the codex-1 lane; local gates (`cargo fmt --check`, `cargo clippy --all-targets --all-features -- -D warnings`, `cargo test --all`) all pass. Opened by the lead because the agent lane's `fj` auth is temporarily unavailable on the box (see rasterstate/fj#147). **Mandatory review (secrets change):** requires a cross-family review before merge. Fixes rasterstate/fj#137
Add org scope for workflow secrets and variables
All checks were successful
ci / check (pull_request) Successful in 9m43s
ci / live-e2e (pull_request) Successful in 1m43s
ci / coverage (pull_request) Successful in 1m58s
b66e34bedd
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/fj!148
No description provided.