tenseleyflow/shithub / 9f6ad9e

Browse files

api: mount actions secrets + variables under /api/v1 group

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
9f6ad9e7396e00447eeb45a5d9ea2d029ec11fcf
Parents
c35c88a
Tree
2544876

1 changed file

StatusFile+-
M internal/web/handlers/api/api.go 4 0
internal/web/handlers/api/api.gomodified
@@ -201,6 +201,10 @@ func (h *Handlers) Mount(r chi.Router) {
201201
 		h.mountActionsWorkflows(r)
202202
 		// S50 §13 — workflow enable/disable + run delete + artifacts + job logs.
203203
 		h.mountActionsLifecycleREST(r)
204
+		// S50 §13 — actions secrets CRUD (repo + org) + sealed-box public-key.
205
+		h.mountActionsSecrets(r)
206
+		// S50 §13 — actions variables CRUD (repo + org).
207
+		h.mountActionsVariables(r)
204208
 	})
205209
 }
206210