Skip to content

Commit

Permalink
Add workflow debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
yhaliaw committed Jun 19, 2024
1 parent 6b6bf88 commit e4bbf37
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/integration/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,20 @@ async def dispatch_workflow(
"""
start_time = datetime.now(timezone.utc)

# TODO: Debug
print("##################################################################")
print(github_repository)
print("##################################################################")
print(branch)
print("##################################################################")
print(workflow_id_or_name)
print("##################################################################")
print(dispatch_input)

workflow = github_repository.get_workflow(id_or_file_name=workflow_id_or_name)
print("##################################################################")
print(workflow)
print("##################################################################")

# The `create_dispatch` returns True on success.
assert workflow.create_dispatch(
Expand Down

0 comments on commit e4bbf37

Please sign in to comment.