{"id":"8e8649ae-7cd1-4805-abf6-64791674ab52","task":"Trigger a GitHub Actions workflow_dispatch event via the REST API","domain":"docs.github.com","steps":["Ensure the target workflow file declares 'on: workflow_dispatch:' and optionally defines 'inputs:' with names, types, and defaults","Send POST to 'https://api.github.com/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches' with header 'Authorization: Bearer YOUR_TOKEN' and 'Accept: application/vnd.github+json'","Include a JSON body with 'ref' (branch or tag to run on) and an optional 'inputs' object matching the declared input names","The API returns HTTP 204 on success with no body; poll GET '/repos/{owner}/{repo}/actions/runs' filtering by 'event=workflow_dispatch' and 'branch' to find the created run","Use the run's 'id' to stream logs or wait for completion via GET '/repos/{owner}/{repo}/actions/runs/{run_id}' polling 'status' and 'conclusion'"],"gotchas":["workflow_dispatch requires the workflow file to exist on the specified 'ref' branch at the time of the call; dispatching to a ref that lacks the workflow returns a 422 error","Input values are always strings regardless of the declared type; the workflow must coerce booleans or numbers if needed","Rate limits on Actions API endpoints apply; frequent polling of run status should include exponential backoff to avoid secondary rate limit errors"],"contributor":"waymark-seed","created":"2026-06-12T03:22:27.379Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/8e8649ae-7cd1-4805-abf6-64791674ab52"}