diff --git a/tools/commitlint/commitlint.config.js b/.github/configs/commitlint.config.js similarity index 100% rename from tools/commitlint/commitlint.config.js rename to .github/configs/commitlint.config.js diff --git a/tools/commitlint/commitlint.config.mjs b/.github/configs/commitlint.config.mjs similarity index 100% rename from tools/commitlint/commitlint.config.mjs rename to .github/configs/commitlint.config.mjs diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 0184911aac..86ec4c77f1 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -13,4 +13,4 @@ jobs: - uses: actions/checkout@v3 - uses: wagoid/commitlint-github-action@v6 with: - configFile: tools/commitlint/commitlint.config.mjs + configFile: .github/configs/commitlint.config.mjs diff --git a/.github/workflows/pr_name.yml b/.github/workflows/pr_name.yml index e50c99e784..c102e4ff19 100644 --- a/.github/workflows/pr_name.yml +++ b/.github/workflows/pr_name.yml @@ -13,4 +13,4 @@ jobs: run: npm install @commitlint/config-conventional@16.0.0 - uses: JulienKode/pull-request-name-linter-action@v0.5.0 with: - configuration-path: tools/commitlint/commitlint.config.js + configuration-path: .github/configs/commitlint.config.js