Skip to content

Commit

Permalink
add github actions is create code-language-detector.yml (openimsdk#2113)
Browse files Browse the repository at this point in the history
* feat: remove tools/codescan catalog

* feat: add code language detector github actions
  • Loading branch information
cubxxw authored Mar 18, 2024
1 parent e795dce commit 1c2eafc
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 258 deletions.
7 changes: 7 additions & 0 deletions .github/code-language-detector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
directory: ./
file_types:
- .go
- .yaml
- .yml
languages:
- Chinese
13 changes: 13 additions & 0 deletions .github/workflows/code-language-detector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Language Check Workflow Test

on: [pull_request]

jobs:
comment-language-detector:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Code Language Detector
uses: kubecub/comment-lang-detector@v1.0.0
1 change: 0 additions & 1 deletion go.work
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ go 1.19
use (
.
./test/typecheck
./tools/codescan
./tools/changelog
./tools/component
./tools/formitychecker
Expand Down
46 changes: 0 additions & 46 deletions scripts/verify-annotation-language.sh

This file was deleted.

104 changes: 0 additions & 104 deletions tools/codescan/checker/checker.go

This file was deleted.

34 changes: 0 additions & 34 deletions tools/codescan/codescan.go

This file was deleted.

21 changes: 0 additions & 21 deletions tools/codescan/config.yaml

This file was deleted.

49 changes: 0 additions & 49 deletions tools/codescan/config/config.go

This file was deleted.

3 changes: 0 additions & 3 deletions tools/codescan/go.mod

This file was deleted.

0 comments on commit 1c2eafc

Please sign in to comment.