CI: Don't run RGM pipeline on docs changes (#69243)

Don't run RGM pipeline on docs changes
This commit is contained in:
Dimitris Sotirakis
2023-05-30 18:17:53 +03:00
committed by GitHub
parent 3e46720a96
commit 778f054419
2 changed files with 17 additions and 1 deletions
+10
View File
@@ -59,12 +59,22 @@ def rgm_build(script = "drone_publish_main.sh"):
rgm_build_step,
]
docs_paths = {
"exclude": [
"*.md",
"docs/**",
"packages/**/*.md",
"latest.json",
],
}
def rgm_main():
trigger = {
"event": [
"push",
],
"branch": "main",
"paths": docs_paths,
}
return pipeline(