Skip to content

Empty result on Workflows query typeΒ #503

@andrewozh

Description

@andrewozh

Grafana version: 11.*
Gihub plugin: latest

πŸ“ Request:

Query type: Workflows
Owner:
Repository: <private_repo>
Time field: CretedAt

✨ Expected result:

A responce with list of existing workflows in repo with name and path labels.

⚠️ Actual result:

Total number rows 0


πŸ“Œ Tried Classic Token and Github App both with recommended and full permissions, nothing work..

πŸ“Œ A usual curl api call with same token returns list of workflows correctly

curl -H "Authorization: Bearer $GITHUB_TOKEN" \
     -H "Accept: application/vnd.github.v3+json" \
     "https://api.github.com/repos/intento/worker/actions/workflows" | jq '.workflows[].name'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2814  100  2814    0     0   2125      0  0:00:01  0:00:01 --:--:--  2126
"requirements"
"prod"
"stage"

πŸ“Œ Workflows Usage and Workflows Runs works well if i hardcode workflow file in request

I searched issues buy found nothing related to this problem, i probably doing something wrong

Metadata

Metadata

Assignees

No one assigned

    Labels

    prio/highCritical and time sensitive issues needing immediate attentiontype/bugUnexpected behavior or a feature is broken

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions