tenseleyflow/shithub / 7366ffc

Browse files

changelog: note S50 §13 part 1 actions workflows + dispatch

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
7366ffcf2f0d527c881851d750cc548b7553073c
Parents
b0d2830
Tree
64281f4

1 changed file

StatusFile+-
M CHANGELOG.md 15 0
CHANGELOG.mdmodified
@@ -291,6 +291,21 @@ between minor releases.
291291
   error semantics (`authorization_pending`, `slow_down`,
292292
   `access_denied`, `expired_token`) are honored.
293293
 - **Capability:** `device-code` added to `/api/v1/meta`.
294
+- **REST: actions workflows + workflow_dispatch (S50 §13 part 1).**
295
+  `GET /api/v1/repos/{o}/{r}/actions/workflows` lists the workflows
296
+  discovered in `.shithub/workflows/` at the repo's default-branch
297
+  HEAD (or `?ref=`); `GET .../workflows/{id_or_file}` fetches a
298
+  single workflow by basename, full path, or a deterministic
299
+  64-bit hash of the path. `POST .../workflows/{file}/dispatches`
300
+  triggers `workflow_dispatch` with optional `ref` and a typed
301
+  `inputs` map (choice / boolean / string with required/default
302
+  enforcement, same semantics as the HTML "Run workflow" button).
303
+  Workflow_dispatch input validation now lives in a shared
304
+  `internal/actions/dispatch` package consumed by both the REST
305
+  and HTML surfaces. Enable/disable knobs are deferred to a
306
+  follow-up (needs a new `workflow_disabled` table); every listed
307
+  workflow is reported as `state: "active"` for now.
308
+- **Capability:** `actions-workflows` added to `/api/v1/meta`.
294309
 
295310
 ### Added (internal)
296311