Skip to content

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

chore: clean-up root directory (#3739)

Danny Xu8218960af026
diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.yml
index 70884bbea4..0c3a595ae4 100644
--- a/.github/workflows/build-artifacts-and-draft-release.yml
+++ b/.github/workflows/build-artifacts-and-draft-release.yml
@@ -30,7 +30,7 @@ jobs:
- name: Build
uses: goreleaser/goreleaser-action@v3
with:
- args: release --skip-publish --config .goreleaser-for-linux.yaml
+ args: release --skip-publish --config scripts/.goreleaser-for-linux.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload
@@ -62,7 +62,7 @@ jobs:
- name: Build
uses: goreleaser/goreleaser-action@v3
with:
- args: release --skip-publish --config .goreleaser-for-darwin.yaml
+ args: release --skip-publish --config scripts/.goreleaser-for-darwin.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload
@@ -116,6 +116,6 @@ jobs:
- name: Release
uses: goreleaser/goreleaser-action@v3
with:
- args: release --config .goreleaser-release.yaml
+ args: release --config scripts/.goreleaser-release.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
deleted file mode 100644
index 5077539cc8..0000000000
--- a/.pre-commit-config.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-repos:
- # Frontend lint
- - repo: https://github.com/pre-commit/mirrors-eslint
- rev: v8.3.0
- hooks:
- - id: eslint
- files: frontend/.+\.([jt]sx?|vue)$
- types: [file]
- args: [--fix]
- # Frontend formatting
- - repo: https://github.com/pre-commit/mirrors-prettier
- rev: "v2.4.1"
- hooks:
- - id: prettier
- files: frontend/src/locales/.+\.json$
- types_or: [json]
- # Commit message check
- - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
- rev: v2.2.0
- hooks:
- - id: commitlint
- stages: [commit-msg]
- additional_dependencies: ["@commitlint/config-conventional"]
- # Standardize whitespace, newline
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v2.3.0
- hooks:
- - id: check-yaml
- - id: end-of-file-fixer
- - id: trailing-whitespace
- - repo: https://github.com/golangci/golangci-lint
- rev: v1.49.0
- hooks:
- - id: golangci-lint
diff --git a/commitlint.config.js b/commitlint.config.js
deleted file mode 100644
index 19044b40f0..0000000000
--- a/commitlint.config.js
+++ /dev/null
@@ -1,8 +0,0 @@
-module.exports = {
- extends: ['@commitlint/config-conventional'],
- rules: {
- "body-max-line-length": [0, "always"],
- "body-max-length": [0, "always"],
- "header-max-length": [0, "always"]
- }
-};
diff --git a/.goreleaser-for-darwin.yaml b/scripts/.goreleaser-for-darwin.yaml
similarity index 100%
rename from .goreleaser-for-darwin.yaml
rename to scripts/.goreleaser-for-darwin.yaml
diff --git a/.goreleaser-for-linux.yaml b/scripts/.goreleaser-for-linux.yaml
similarity index 100%
rename from .goreleaser-for-linux.yaml
rename to scripts/.goreleaser-for-linux.yaml
diff --git a/.goreleaser-release.yaml b/scripts/.goreleaser-release.yaml
similarity index 100%
rename from .goreleaser-release.yaml
rename to scripts/.goreleaser-release.yaml