File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919name : Backend CI
2020
2121on :
22- # Run when pushing to stable branches
2322 push :
2423 paths :
2524 - " backend/**"
2928 - " main"
3029 - " release-*"
3130 - " renovate/backend-*"
32- # Run on pull requests matching apps
3331 pull_request :
3432 paths :
3533 - " backend/**"
34+ - " !backend/docs/**"
3635 - " .tool-versions"
3736 - " .github/workflows/backend-*.yaml"
3837
Original file line number Diff line number Diff line change @@ -22,16 +22,23 @@ name: Edgehog docs generation
2222# publish Generate and publish docs on pushes on main (or release branches) only
2323# when backend or frontend files are touched.
2424on :
25+ pull_request :
26+ paths :
27+ - " backend/docs/**"
28+ - " .tool-versions"
29+ - " .github/workflows/docs-ci.yaml"
2530 workflow_call :
2631 inputs :
2732 release-made :
2833 required : true
2934 type : boolean
35+ default : false
3036 release-version :
3137 type : string
38+ default : snapshot
3239 publish :
3340 type : boolean
34- default : true
41+ default : false
3542 secrets :
3643 publish-key :
3744 required : true
You can’t perform that action at this time.
0 commit comments