From 7b32761ca2d3029633ffd2243203c6b4ce199487 Mon Sep 17 00:00:00 2001 From: Xinwei Xiong <3293172751NSS@gmail.com> Date: Sat, 16 Mar 2024 18:44:23 +0800 Subject: [PATCH 1/3] add github actions is create code-language-detector.yml --- .github/code-language-detector.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/code-language-detector.yml diff --git a/.github/code-language-detector.yml b/.github/code-language-detector.yml new file mode 100644 index 000000000..6e5386249 --- /dev/null +++ b/.github/code-language-detector.yml @@ -0,0 +1,7 @@ +directory: ./ +file_types: + - .go + - .yaml + - .yml +languages: + - Chinese From ccfe8ef3aaeae09073500ac0c2a258cf0b62b4c9 Mon Sep 17 00:00:00 2001 From: Xinwei Xiong <3293172751NSS@gmail.com> Date: Sat, 16 Mar 2024 18:46:48 +0800 Subject: [PATCH 2/3] Create language-check.yml --- .github/workflows/language-check.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/language-check.yml diff --git a/.github/workflows/language-check.yml b/.github/workflows/language-check.yml new file mode 100644 index 000000000..c09964fb7 --- /dev/null +++ b/.github/workflows/language-check.yml @@ -0,0 +1,13 @@ +name: Language Check Workflow Test + +on: [push, pull_request] + +jobs: + comment-language-detector: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Code Language Detector + uses: kubecub/comment-lang-detector@v1.0.0 From ccf1f358d40c00cd6398e93f119e41e4ecdf6893 Mon Sep 17 00:00:00 2001 From: Xinwei Xiong <3293172751NSS@gmail.com> Date: Sat, 16 Mar 2024 18:47:24 +0800 Subject: [PATCH 3/3] Update language-check.yml --- .github/workflows/language-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/language-check.yml b/.github/workflows/language-check.yml index c09964fb7..904323cd9 100644 --- a/.github/workflows/language-check.yml +++ b/.github/workflows/language-check.yml @@ -1,6 +1,6 @@ name: Language Check Workflow Test -on: [push, pull_request] +on: [pull_request] jobs: comment-language-detector: