[WIP] A counter service for GitHub Actions
Automatically used by actions-toolkit
.
You can also make PUTs:
curl -XPUT https://action-counter.is/my-workflow/my-action
PUT /badge/:workflow/:action -> exports.increment
GET /badge/:action/runs -> exports.runs
GET /badge/:action/workflows -> exports.workflows
Uses badgen to generate SVGs.
- Determine host (Now, Lambda, GCF, other?)
- Update request/response code to match FaaS signature
- Get action/workflow names from request body
- Will
owner/action
names mess with the proposed routes?