ACCESS-NRI/ACCESS-OM2

Remove failed deployments < 2023.11.22

CodeGat opened this issue · 1 comments

Background
The failed deployments are still showing up, even after deleting the workflow runs that failed. Clean this up so the only deployments that show up are after 2023.11.21.
These failed runs were created during the initial configuration and aren't required anymore.

Solution

Further information in this StackOverflow post: https://stackoverflow.com/questions/72788012/delete-github-repository-deployment-history

Completed by using repeated gh api calls to list deployment IDs and delete deployments that way.