Correct Repository.get_workflows() (#1518)

The API endpoint Repository.get_workflows() calls returns data in a list
item, not directly, leading to some head scratching when calling it
against GitHub. Re-record the replay data.
This commit is contained in:
Steve Kowalik
2020-05-14 16:45:01 +10:00
committed by GitHub
parent f7cc534d50
commit 8727003fc8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3011,6 +3011,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
self._requester,
self.url + "/actions/workflows",
None,
list_item="workflows",
)
def get_workflow(self, id_or_name):