kevinwang676 commited on
Commit
086dfba
·
verified ·
1 Parent(s): 290e5fa

Delete .github

Browse files
.github/ISSUE_TEMPLATE/bug_report.md DELETED
@@ -1,38 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Desktop (please complete the following information):**
27
- - OS: [e.g. iOS]
28
- - Browser [e.g. chrome, safari]
29
- - Version [e.g. 22]
30
-
31
- **Smartphone (please complete the following information):**
32
- - Device: [e.g. iPhone6]
33
- - OS: [e.g. iOS8.1]
34
- - Browser [e.g. stock browser, safari]
35
- - Version [e.g. 22]
36
-
37
- **Additional context**
38
- Add any other context about the problem here.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/ISSUE_TEMPLATE/feature_request.md DELETED
@@ -1,20 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Is your feature request related to a problem? Please describe.**
11
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
-
13
- **Describe the solution you'd like**
14
- A clear and concise description of what you want to happen.
15
-
16
- **Describe alternatives you've considered**
17
- A clear and concise description of any alternative solutions or features you've considered.
18
-
19
- **Additional context**
20
- Add any other context or screenshots about the feature request here.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/workflows/lint.yml DELETED
@@ -1,56 +0,0 @@
1
- name: Lint
2
-
3
- on:
4
- pull_request:
5
- push:
6
-
7
- jobs:
8
- quick-checks:
9
- runs-on: ubuntu-latest
10
- steps:
11
- - name: Fetch CosyVoice
12
- uses: actions/checkout@v1
13
- - name: Checkout PR tip
14
- run: |
15
- set -eux
16
- if [[ "${{ github.event_name }}" == "pull_request" ]]; then
17
- # We are on a PR, so actions/checkout leaves us on a merge commit.
18
- # Check out the actual tip of the branch.
19
- git checkout ${{ github.event.pull_request.head.sha }}
20
- fi
21
- echo ::set-output name=commit_sha::$(git rev-parse HEAD)
22
- id: get_pr_tip
23
- - name: Ensure no tabs
24
- run: |
25
- (! git grep -I -l $'\t' -- . ':(exclude)*.txt' ':(exclude)*.svg' ':(exclude)**Makefile' ':(exclude)**/contrib/**' ':(exclude)third_party' ':(exclude).gitattributes' ':(exclude).gitmodules' || (echo "The above files have tabs; please convert them to spaces"; false))
26
- - name: Ensure no trailing whitespace
27
- run: |
28
- (! git grep -I -n $' $' -- . ':(exclude)*.txt' ':(exclude)third_party' ':(exclude).gitattributes' ':(exclude).gitmodules' || (echo "The above files have trailing whitespace; please remove them"; false))
29
-
30
- flake8-py3:
31
- runs-on: ubuntu-latest
32
- steps:
33
- - name: Setup Python
34
- uses: actions/setup-python@v1
35
- with:
36
- python-version: 3.9
37
- architecture: x64
38
- - name: Fetch CosyVoice
39
- uses: actions/checkout@v1
40
- - name: Checkout PR tip
41
- run: |
42
- set -eux
43
- if [[ "${{ github.event_name }}" == "pull_request" ]]; then
44
- # We are on a PR, so actions/checkout leaves us on a merge commit.
45
- # Check out the actual tip of the branch.
46
- git checkout ${{ github.event.pull_request.head.sha }}
47
- fi
48
- echo ::set-output name=commit_sha::$(git rev-parse HEAD)
49
- id: get_pr_tip
50
- - name: Run flake8
51
- run: |
52
- set -eux
53
- pip install flake8==3.8.2 flake8-bugbear flake8-comprehensions flake8-executable flake8-pyi==20.5.0 mccabe pycodestyle==2.6.0 pyflakes==2.2.0
54
- flake8 --version
55
- flake8 --max-line-length 180 --ignore B006,B008,B905,C408,E402,E731,E741,W503,W504 --exclude ./third_party/,./runtime/python/grpc/cosyvoice_pb2*py
56
- if [ $? != 0 ]; then exit 1; fi
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.github/workflows/stale-issues.yml DELETED
@@ -1,22 +0,0 @@
1
- name: Close inactive issues
2
- on:
3
- schedule:
4
- - cron: "30 1 * * *"
5
-
6
- jobs:
7
- close-issues:
8
- runs-on: ubuntu-latest
9
- permissions:
10
- issues: write
11
- pull-requests: write
12
- steps:
13
- - uses: actions/stale@v5
14
- with:
15
- days-before-issue-stale: 30
16
- days-before-issue-close: 14
17
- stale-issue-label: "stale"
18
- stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
19
- close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
20
- days-before-pr-stale: -1
21
- days-before-pr-close: -1
22
- repo-token: ${{ secrets.GITHUB_TOKEN }}