Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: enforce buf format (#5841)

p0ny1088486ed6b7
diff --git a/.github/workflows/proto-linter.yml b/.github/workflows/proto-linter.yml
index e48fe904c9..2fd6ee6b64 100644
--- a/.github/workflows/proto-linter.yml
+++ b/.github/workflows/proto-linter.yml
@@ -21,4 +21,10 @@ jobs:
- name: buf lint
uses: bufbuild/buf-lint-action@v1
with:
- input: 'proto'
+ input: "proto"
+ - name: buf format
+ run: |
+ if [[ $(buf format -d) ]]; then
+ echo "Run 'buf format -w'"
+ exit 1
+ fi
diff --git a/proto/store/data_source.proto b/proto/store/data_source.proto
index 07acd0cccc..9b19160dcf 100644
--- a/proto/store/data_source.proto
+++ b/proto/store/data_source.proto
@@ -15,14 +15,14 @@ message DataSourceOptions {
string sid = 3;
string service_name = 4;
// SSH related
- // The hostname of the SSH server agent.
- string ssh_host = 5;
- // The port of the SSH server agent. It's 22 typically.
- string ssh_port = 6;
- // The user to login the server.
- string ssh_user = 7;
- // The password to login the server. If it's empty string, no password is required.
- string ssh_obfuscated_password = 8;
- // The private key to login the server. If it's empty string, we will use the system default private key from os.Getenv("SSH_AUTH_SOCK").
- string ssh_obfuscated_private_key = 9;
-}
\ No newline at end of file
+ // The hostname of the SSH server agent.
+ string ssh_host = 5;
+ // The port of the SSH server agent. It's 22 typically.
+ string ssh_port = 6;
+ // The user to login the server.
+ string ssh_user = 7;
+ // The password to login the server. If it's empty string, no password is required.
+ string ssh_obfuscated_password = 8;
+ // The private key to login the server. If it's empty string, we will use the system default private key from os.Getenv("SSH_AUTH_SOCK").
+ string ssh_obfuscated_private_key = 9;
+}