mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
CI: Don't run RGM pipeline on docs changes (#69243)
Don't run RGM pipeline on docs changes
This commit is contained in:
parent
3e46720a96
commit
778f054419
@ -4536,6 +4536,12 @@ trigger:
|
|||||||
branch: main
|
branch: main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
paths:
|
||||||
|
exclude:
|
||||||
|
- '*.md'
|
||||||
|
- docs/**
|
||||||
|
- packages/**/*.md
|
||||||
|
- latest.json
|
||||||
type: docker
|
type: docker
|
||||||
volumes:
|
volumes:
|
||||||
- host:
|
- host:
|
||||||
@ -7200,6 +7206,6 @@ kind: secret
|
|||||||
name: delivery-bot-app-private-key
|
name: delivery-bot-app-private-key
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: d518288df51a41148e1fb302b80d598add4104f35588fd05e0fc6a135b45dda1
|
hmac: 358fac7d0ab0a53dffe606efc35b060132ca2270407d6b58e06bc9f3415c9e65
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -59,12 +59,22 @@ def rgm_build(script = "drone_publish_main.sh"):
|
|||||||
rgm_build_step,
|
rgm_build_step,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
docs_paths = {
|
||||||
|
"exclude": [
|
||||||
|
"*.md",
|
||||||
|
"docs/**",
|
||||||
|
"packages/**/*.md",
|
||||||
|
"latest.json",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
def rgm_main():
|
def rgm_main():
|
||||||
trigger = {
|
trigger = {
|
||||||
"event": [
|
"event": [
|
||||||
"push",
|
"push",
|
||||||
],
|
],
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
|
"paths": docs_paths,
|
||||||
}
|
}
|
||||||
|
|
||||||
return pipeline(
|
return pipeline(
|
||||||
|
Loading…
Reference in New Issue
Block a user