Skip to content

Commit

Permalink
chore: 优化ci及问题模板
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Dec 15, 2024
1 parent f8b718d commit af25b67
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 49 deletions.
2 changes: 0 additions & 2 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# These are supported funding model platforms

custom: [ 'https://afdian.com/a/TheTNB' ]
31 changes: 7 additions & 24 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,41 +21,24 @@ body:
required: true
- label: 我已经阅读了文档中除版本记录以外的所有内容 (I've read everything in the documentation except the version notes)
required: true
- label: 我没有改动过面板及系统的任何文件 (I have not changed any files of the panel and system)
required: false
- label: 这个问题可以被稳定复现 (The problem can be stably reproduced)
required: false
- label: 问题是在更新之后产生的 (The problem is generated after upgrading)
required: false
- type: dropdown
id: system
attributes:
label: 操作系统 (Operating System)
description: |
请提供安装面板的操作系统。
Please provide the operating system on which the panel is installed.
options:
- Debian
- Ubuntu
- AlmaLinux
- RockyLinux
- Other
validations:
required: true
- type: input
id: system-version
id: system
attributes:
label: 操作系统版本 (Operating System Version)
label: 操作系统及版本 (OS Version)
description: |
请提供操作系统的版本号
Please provide the version number of the operating system.
placeholder: "12"
请提供操作系统及其版本号
Please provide the operating system and its version number.
placeholder: "Ubuntu 24.04"
validations:
required: true
- type: input
id: version
attributes:
label: 耗子面板版本 (Rat Panel Version)
label: 面板版本 (Panel Version)
description: |
请提供面板的版本号。
Please provide the version number of the panel.
Expand Down Expand Up @@ -93,7 +76,7 @@ body:
简明概要地描述您期望发生的事情。
Briefly describe what you expect to happen.
validations:
required: true
required: false
- type: textarea
id: logs
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: ❓ 讨论、问答和非项目问题 (Discussions, questions, and non-project issues)
url: https://jq.qq.com/?_wv=1027&k=I1oJKSTH
about: 其他不明之处,请移步我们的QQ群 12370907 (For other unclear things, please move to our qq group 12370907)
about: 其他不明之处,请移步我们的QQ群 12370907 (For other unclear things, please move to our qq group 12370907)
2 changes: 1 addition & 1 deletion .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ jobs:
name: ${{ matrix.goarch }}
path: |
web-${{ matrix.goarch }}
cli-${{ matrix.goarch }}
cli-${{ matrix.goarch }}
2 changes: 1 addition & 1 deletion .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: frontend
path: web/dist/ # https://github.com/actions/upload-artifact/issues/541
path: web/dist/ # https://github.com/actions/upload-artifact/issues/541
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/issue-auto-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
with:
gh_repo: ${{ github.repository }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
issue_labels: "⭐ No Star"
issue_labels: "⭐ No Star"
17 changes: 0 additions & 17 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,6 @@ jobs:
skip-cache: true
version: latest
args: --timeout=30m ./...
nilaway:
runs-on: ubuntu-24.04
if: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
cache: true
go-version: 'stable'
- name: Install dependencies
run: go mod tidy
- name: Install NilAway
run: go install go.uber.org/nilaway/cmd/nilaway@latest
- name: Run NilAway
run: nilaway -include-pkgs="github.com/TheTNB/panel" ./...
govulncheck:
runs-on: ubuntu-24.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
uses: codecov/codecov-action@v5
with:
file: ./coverage.out
token: ${{ secrets.CODECOV }}
token: ${{ secrets.CODECOV }}

0 comments on commit af25b67

Please sign in to comment.