[BUG]: Unable to get latest deployment for a workflow deployed to an environment #2649
Open
1 task done
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Support
Any questions, information, or general needs around the SDK or GitHub APIs
What happened?
``Hi, I am trying to build a report for all of my deployments for our product which has about 15+ repos. I like to create a Github Page with all the repos listed with their workflows and deployments for the 4 environments I have.
I was able to get latest deployment but it could be any of the workflow. So, my problem is that I am unable to get latest deployment for an environment for a specific workflow. How can I get this info?
Here is what I am using currently
But for deployments, below API does not offer workflow as input. So, how can I go about getting the data for a specific workflow deployment action?
Thanks
Sanjay
Versions
"@octokit/rest": "20.0.2"
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: