rchutchev/Phare.io Incident Action

Create and manage Phare.io incidents from GitHub Actions workflows.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 19, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: rchutchev/phare.io-incident-api@fe5498a6578eb2d3a8519db2299fcc7cc7d17285 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
phare-tokenPhare.io API token (use GitHub Secrets to pass this value).yes
project-idOptional Phare project id to send as X-Phare-Project-Id.no
project-slugOptional Phare project slug to send as X-Phare-Project-Slug.no
impactIncident impact. One of: unknown, operational, degraded_performance, partial_outage, major_outage, maintenance. Defaults to maintenance.nomaintenance
titleIncident title. Optional for create; a maintenance placeholder will be used if omitted.no
descriptionIncident description. Optional for create; a maintenance placeholder will be used if omitted.no
exclude-from-downtimeWhether to exclude this incident from downtime calculations (true/false).no
monitorsComma-separated list of monitor IDs, for example: "1,2,3".no
incident-atIncident confirmation time. Either ISO 8601 (e.g. 2026-03-08T12:00:00Z) or an offset like 10s, 10m, 1h, 10h, 1d.no
recovery-atIncident recovery time. Either ISO 8601 (e.g. 2026-03-08T12:10:00Z) or an offset like 10s, 10m, 1h, 10h, 1d.no
incident-idIncident ID (for update/recover/delete incident, or for all incident-update operations).no
incident-update-idIncident update ID for get/update/delete incident-update operations.no
update-stateState for create/update incident update: unknown, investigating, identified, monitoring, resolved.no
update-contentContent text for create/update incident update.no
update-published-atOptional published_at for incident update (ISO 8601 with Z or relative offset like 1m, -10m).no
pagePage number for list-incident-updates (default 1).no
per-pagePer page for list-incident-updates (default 20, max 100).no
operationOperation: create, update, recover, delete, list-incident-updates, get-incident-update, create-incident-update, update-incident-update, delete-incident-update.nocreate
incident-artifact-nameGitHub Actions artifact name for the created incident payload.nophare-incident
namedescription
incident-idID of the incident affected by the operation (created, updated, or recovered).
incident-update-idID of the incident update (get/create/update incident-update operations).
incident-artifact-pathPath of the JSON file containing the created incident payload.