Skip to content

listWorkflowRuns calls fail without any logging #221

@rajbos

Description

@rajbos

Describe the bug
Any calls to (at least) the endpoints below fail, without any feedback to debug with

  • octokit.rest.actions.listWorkflowRunsForRepo
  • octokit.rest.actions.listWorkflowRuns
    I also tested with octokit.rest.actions.getWorkflow and that does work, so not everything under actions is failing. Even placing the call within a try/catch and enabling ACTIONS_STEP_DEBUG I don't get any feedback on what is happening and I am lost how to debug further. Also tried to make the calls myself in Postman and those work, so I halfway expecting something in the response handling for this.

Also tried running the request directly in octokit, but this has the same result: no error, but also no logging:

           const response = await octokit.request(
                "GET /repos/{owner}/{repo}/actions/runs",
                {owner, repo}
            )        
            console.log(`Response: ${JSON.stringify(response)}`)

Logging

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
At least an error with more info would be nice :-D

Additional context
See the workflow run here: https://github.com/rajbos/demo-actions/runs/4441569964?check_suite_focus=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions