瀏覽代碼

config: add filter "meshtastic-firmware-config" (for masking some sensitive values)

Fabian Peter Hammerle 4 周之前
父節點
當前提交
b49910f14d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      gitconfig

+ 3 - 0
gitconfig

@@ -71,6 +71,9 @@
 	process = git-lfs filter-process
 	required = true
 
+[filter "meshtastic-firmware-config"]
+    clean = "yq --yaml-output --indentless-lists '.channel_url = \"…\" | .config.bluetooth.fixedPin = \"…\" | .module_config.ambientLighting.blue = \"…\" | .module_config.ambientLighting.green = \"…\" | .module_config.ambientLighting.red = \"…\"' --"
+
 [commit]
 	gpgsign = true
 	verbose = true