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

Labels

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

Type

No type

Projects

Status

Complete

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions