Files
grafana/pkg/tests/apis/provisioning/testdata/github-example.json
T
Roberto Jiménez SánchezandClarity-89 2a220b530d [Prototyping] Github Spec to allow push to main or force to use pull requests (#97001)
* Change to have workflows

* Update Frontend

* Run generation

* Add openapi file

* Revert unexpected changes

* Add enum

* Add description to workflows

* Add mapper function to please ESLint

* Remove pull request option

* Remove leftovers

* Configure sync interval in frontend

* Address most comments

* Regenerate client

* Fix compile issue

* Update WorkflowOption type

---------

Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-02-10 15:23:49 +01:00

27 lines
706 B
JSON

{
"apiVersion": "provisioning.grafana.app/v0alpha1",
"kind": "Repository",
"metadata": {
"name": "github-example"
},
"spec": {
"title": "Github Example",
"description": "load resources from github",
"type": "github",
"readOnly": false,
"sync": {
"enabled": true,
"target": "folder",
"intervalSeconds": 60
},
"github": {
"owner": "grafana",
"repository": "git-ui-sync-demo",
"branch": "dummy-branch",
"workflows": ["push", "branch"],
"generateDashboardPreviews": true,
"token": "github_pat_dummy"
}
}
}