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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

View File

@ -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
... ...

View File

@ -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(