rchutchev/Phare.io Incident Action
Create and manage Phare.io incidents from GitHub Actions workflows.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 19, 2026
- License
- MIT
Pinned Snippet
uses: rchutchev/phare.io-incident-api@fe5498a6578eb2d3a8519db2299fcc7cc7d17285 # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| phare-token | Phare.io API token (use GitHub Secrets to pass this value). | yes | — |
| project-id | Optional Phare project id to send as X-Phare-Project-Id. | no | — |
| project-slug | Optional Phare project slug to send as X-Phare-Project-Slug. | no | — |
| impact | Incident impact. One of: unknown, operational, degraded_performance, partial_outage, major_outage, maintenance. Defaults to maintenance. | no | maintenance |
| title | Incident title. Optional for create; a maintenance placeholder will be used if omitted. | no | — |
| description | Incident description. Optional for create; a maintenance placeholder will be used if omitted. | no | — |
| exclude-from-downtime | Whether to exclude this incident from downtime calculations (true/false). | no | — |
| monitors | Comma-separated list of monitor IDs, for example: "1,2,3". | no | — |
| incident-at | Incident confirmation time. Either ISO 8601 (e.g. 2026-03-08T12:00:00Z) or an offset like 10s, 10m, 1h, 10h, 1d. | no | — |
| recovery-at | Incident recovery time. Either ISO 8601 (e.g. 2026-03-08T12:10:00Z) or an offset like 10s, 10m, 1h, 10h, 1d. | no | — |
| incident-id | Incident ID (for update/recover/delete incident, or for all incident-update operations). | no | — |
| incident-update-id | Incident update ID for get/update/delete incident-update operations. | no | — |
| update-state | State for create/update incident update: unknown, investigating, identified, monitoring, resolved. | no | — |
| update-content | Content text for create/update incident update. | no | — |
| update-published-at | Optional published_at for incident update (ISO 8601 with Z or relative offset like 1m, -10m). | no | — |
| page | Page number for list-incident-updates (default 1). | no | — |
| per-page | Per page for list-incident-updates (default 20, max 100). | no | — |
| operation | Operation: create, update, recover, delete, list-incident-updates, get-incident-update, create-incident-update, update-incident-update, delete-incident-update. | no | create |
| incident-artifact-name | GitHub Actions artifact name for the created incident payload. | no | phare-incident |
Outputs
| name | description |
|---|---|
| incident-id | ID of the incident affected by the operation (created, updated, or recovered). |
| incident-update-id | ID of the incident update (get/create/update incident-update operations). |
| incident-artifact-path | Path of the JSON file containing the created incident payload. |