Allow an override of the Deployment History's fields
- Dominant language
- TypeScript
- Stars
- 338
- Forks
- 234
- Avg merge
- 53m
- Merged PRs (30d)
- 3
Description
Allow the following fields on the `https://.scm.azurewebsites.net/api/deployments` POST request made by this action to be overridden.
- author
- deployer
- message
- details
- log_url #441
Right now the `message` to `OneDeploy`. Which is not that helpful.
```
POST https://.scm.azurewebsites.net/api/deployments
{
"id": "deployment-id",
"status": 0, // Numeric status (e.g., 0 = pending, 3 = success, 4 = failed)
"message": "Deployment initiated", // A message describing the deployment
"author": "AuthorName", // Name of the person who initiated the deployment
"deployer": "DeployerName", // Optional, who performed the deployment (could be the same as the author)
"details": "Custom deployment details", // Optional, additional details for tracking
"active": false, // Whether this deployment should be set as active immediately
"log_url": "http://yourlog.com", // Optional, URL to deployment logs
"received_time": "2023-09-21T14:32:00Z", // Optional, time the deployment was received
"start_time": "2023-09-21T14:35:00Z", // Optional, when the deployment started
"end_time": "2023-09-21T14:45:00Z" // Optional, when the deployment completed
}
```

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.