github.listDeployments lists repository deployments.
automations/list-github-deployments.automation.ts
owner and repository. Optional filters are sha, ref, task, and environment. Pagination defaults to page 1 with 30 results. Returns each deployment’s id, ref, and environment. Requires Deployments read permission.