-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename slime README_zh_CN.md to README.zh_CN.md (#4) * docs: update readme (#5) * filter: add github actions (#6) * validation: fix err type conversion (#7) * validation: fix err type conversion * add changelog --------- Co-authored-by: Bo Yan <[email protected]>
- Loading branch information
Showing
25 changed files
with
427 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[default] | ||
extend-ignore-identifiers-re = [ | ||
"AttributeID.*Supress.*", | ||
] | ||
|
||
[default.extend-identifiers] | ||
AttributeIDSupressMenu = "AttributeIDSupressMenu" | ||
|
||
[default.extend-words] | ||
WRONLY = "WRONLY" | ||
guage = "guage" | ||
|
||
[files] | ||
extend-exclude = ["install/submodules/*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: "CLA Assistant" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
|
||
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings | ||
permissions: | ||
actions: write | ||
contents: write | ||
pull-requests: write | ||
statuses: write | ||
|
||
jobs: | ||
CLAAssistant: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "CLA Assistant" | ||
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' | ||
uses: contributor-assistant/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_DATABASE_ACCESS_TOKEN }} | ||
with: | ||
remote-organization-name: trpc-group | ||
remote-repository-name: cla-database | ||
path-to-signatures: 'signatures/${{ github.event.repository.name }}-${{ github.repository_id }}/cla.json' | ||
path-to-document: 'https://github.com/trpc-group/cla-database/blob/main/Tencent-Contributor-License-Agreement.md' | ||
# branch should not be protected | ||
branch: 'main' | ||
allowlist: bot* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: debuglog Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'debuglog/**' | ||
push: | ||
paths: | ||
- 'debuglog/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd debuglog && go build -v ./... | ||
- name: Test | ||
run: cd debuglog && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: degrade Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'degrade/**' | ||
push: | ||
paths: | ||
- 'degrade/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd degrade && go build -v ./... | ||
- name: Test | ||
run: cd degrade && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: filterextensions Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'filterextensions/**' | ||
push: | ||
paths: | ||
- 'filterextensions/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd filterextensions && go build -v ./... | ||
- name: Test | ||
run: cd filterextensions && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: hystrix Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'hystrix/**' | ||
push: | ||
paths: | ||
- 'hystrix/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd hystrix && go build -v ./... | ||
- name: Test | ||
run: cd hystrix && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: jwt Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'jwt/**' | ||
push: | ||
paths: | ||
- 'jwt/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd jwt && go build -v ./... | ||
- name: Test | ||
run: cd jwt && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: masking Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'masking/**' | ||
push: | ||
paths: | ||
- 'masking/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd masking && go build -v ./... | ||
- name: Test | ||
run: cd masking && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: mock Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'mock/**' | ||
push: | ||
paths: | ||
- 'mock/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd mock && go build -v ./... | ||
- name: Test | ||
run: cd mock && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: recovery Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'recovery/**' | ||
push: | ||
paths: | ||
- 'recovery/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd recovery && go build -v ./... | ||
- name: Test | ||
run: cd recovery && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: referer Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'referer/**' | ||
push: | ||
paths: | ||
- 'referer/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd referer && go build -v ./... | ||
- name: Test | ||
run: cd referer && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: slime Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'slime/**' | ||
push: | ||
paths: | ||
- 'slime/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd slime && go build -v ./... | ||
- name: Test | ||
run: cd slime && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: transinfo-blocker Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'transinfo-blocker/**' | ||
push: | ||
paths: | ||
- 'transinfo-blocker/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd transinfo-blocker && go build -v ./... | ||
- name: Test | ||
run: cd transinfo-blocker && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: tvar Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'tvar/**' | ||
push: | ||
paths: | ||
- 'tvar/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd tvar && go build -v ./... | ||
- name: Test | ||
run: cd tvar && go test -v -gcflags=all=-l ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: validation Pull Request Check | ||
on: | ||
pull_request: | ||
paths: | ||
- 'validation/**' | ||
push: | ||
paths: | ||
- 'validation/**' | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: cd validation && go build -v ./... | ||
- name: Test | ||
run: cd validation && go test -v -gcflags=all=-l ./... | ||
|
Oops, something went wrong.