Skip to content

Commit

Permalink
Update docstring for GitHub get_workflow workflow argument
Browse files Browse the repository at this point in the history
A workflow id or (relative) path is allowed here.
  • Loading branch information
bjoernricks committed Sep 21, 2022
1 parent cf07ea0 commit cc28ae3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pontos/github/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@ def get_workflow(self, repo: str, workflow: str) -> JSON:
Args:
repo: GitHub repository (owner/name) to use
workflow: ID of the workflow
workflow: ID of the workflow or workflow file name. For example
`main.yml`.
Raises:
HTTPStatusError: A httpx.HTTPStatusError is raised if the request
Expand Down

0 comments on commit cc28ae3

Please sign in to comment.