-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WorkflowJob.conclusion
missing strings in enum
#629
Comments
WorkflowJob.conclusion
missing strings in enum
Thanks for letting us know. Next time, it would be appreciated if you could share an example of the payload you received. This will be fixed in the next batch of updates |
Here's the relevant part of the payloads I noticed for posterity. Sorry about that. For context, the first one was a job that was cancelled after being queued but before starting. The second was a job that depends on the first that was never queued at all. {
"action": "completed",
"workflow_job": {
"id": 6799789894,
"run_id": 2463583454,
"run_url": "https://api.github.com/repos/ORG/REPO/actions/runs/2463583454",
"run_attempt": 2,
"node_id": "CR_kwDOHNYgOM8AAAABlUyPRg",
"head_sha": "80686dbf704f98b63e40cfcea041a6ea88d6d72b",
"url": "https://api.github.com/repos/ORG/REPO/actions/jobs/6799789894",
"html_url": "https://github.com/ORG/REPO/runs/6799789894?check_suite_focus=true",
"status": "completed",
"conclusion": "cancelled",
"started_at": "2022-06-08T18:52:47Z",
"completed_at": "2022-06-08T18:52:47Z",
"name": "Job 1",
"steps": [
],
"check_run_url": "https://api.github.com/repos/ORG/REPO/check-runs/6799789894",
"labels": [
"self-hosted",
"ephemeral"
],
"runner_id": null,
"runner_name": null,
"runner_group_id": null,
"runner_group_name": null
},
...
} {
"action": "completed",
"workflow_job": {
"id": 6800028955,
"run_id": 2463583454,
"run_url": "https://api.github.com/repos/ORG/REPO/actions/runs/2463583454",
"run_attempt": 2,
"node_id": "CR_kwDOHNYgOM8AAAABlVA1Gw",
"head_sha": "80686dbf704f98b63e40cfcea041a6ea88d6d72b",
"url": "https://api.github.com/repos/ORG/REPO/actions/jobs/6800028955",
"html_url": "https://github.com/ORG/REPO/runs/6800028955?check_suite_focus=true",
"status": "completed",
"conclusion": "skipped",
"started_at": "2022-06-08T18:52:48Z",
"completed_at": "2022-06-08T18:52:48Z",
"name": "Job 2",
"steps": [
],
"check_run_url": "https://api.github.com/repos/ORG/REPO/check-runs/6800028955",
"labels": [
],
"runner_id": null,
"runner_name": null,
"runner_group_id": null,
"runner_group_name": null
},
...
} |
🎉 This issue has been resolved in version 5.8.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
webhooks/payload-schemas/api.github.com/common/workflow-job.schema.json
Line 51 in 97ffd1b
Relevant schema:
It is possible to have a conclusion of
cancelled
in the completed field for this event; however, the current types only allow for "success" or "failure".The text was updated successfully, but these errors were encountered: