mirror of https://github.com/1Panel-dev/1Panel
chore: Update workflows
parent
f6e6f9cbfb
commit
d139073948
|
@ -1,13 +1,10 @@
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
name: General PR Handling for 1Panel
|
||||||
name: 1Panel 通用 PR 处理
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generic_handler:
|
generic_handler:
|
||||||
name: 为 PR 添加标签
|
name: Add Labels to PR
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# Sequence of patterns matched against refs/tags
|
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
- 'v*'
|
||||||
|
|
||||||
name: Create Release And Upload assets
|
name: Create Release And Upload assets
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-release:
|
create-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -36,22 +33,6 @@ jobs:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
body: |
|
|
||||||
# 一、安装和升级
|
|
||||||
|
|
||||||
## 1.1 一键安装
|
|
||||||
```sh
|
|
||||||
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## 1.2 在线升级
|
|
||||||
|
|
||||||
登录 1Panel Web 控制台,在页面右下角点击 **【检查更新】** 进行在线升级。
|
|
||||||
|
|
||||||
>更多信息请查阅在线文档:https://1panel.cn/docs/
|
|
||||||
|
|
||||||
# 二、更新日志
|
|
||||||
|
|
||||||
files: |
|
files: |
|
||||||
dist/*.tar.gz
|
dist/*.tar.gz
|
||||||
dist/checksums.txt
|
dist/checksums.txt
|
|
@ -1,34 +0,0 @@
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- dev
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- dev
|
|
||||||
|
|
||||||
name: Build Test
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-linux-binary:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup Node
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '20.2'
|
|
||||||
- name: Build Web
|
|
||||||
id: build_frontend
|
|
||||||
run: |
|
|
||||||
cd frontend && npm install && npm run build:pro
|
|
||||||
env:
|
|
||||||
NODE_OPTIONS: --max-old-space-size=8192
|
|
||||||
- name: Setup Go
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '1.22'
|
|
||||||
- name: Build Server
|
|
||||||
uses: goreleaser/goreleaser-action@v6
|
|
||||||
with:
|
|
||||||
args: release --snapshot --clean
|
|
|
@ -1,17 +0,0 @@
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 1 * * *"
|
|
||||||
|
|
||||||
name: Check recent handle issues
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check-recent-issues-not-handle:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check recent issues and send msg
|
|
||||||
uses: jumpserver/action-issues-alert@master
|
|
||||||
with:
|
|
||||||
hook: ${{ secrets.WECHAT_GROUP_WEB_HOOK }}
|
|
||||||
type: recent
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
@ -1,17 +0,0 @@
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 9 * * 1-5"
|
|
||||||
|
|
||||||
name: Check untimely handle issues
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check-untimely-handle-issues:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check untimely issues and send msg
|
|
||||||
uses: jumpserver/action-issues-alert@master
|
|
||||||
with:
|
|
||||||
hook: ${{ secrets.WECHAT_GROUP_WEB_HOOK }}
|
|
||||||
type: untimely
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
@ -1,13 +1,10 @@
|
||||||
name: LLM Code Review
|
name: LLM Code Review
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, synchronize]
|
types: [opened, reopened, synchronize]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
llm-code-review:
|
llm-code-review:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
name: sync2gitee
|
name: sync2gitee
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
repo-sync:
|
repo-sync:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
name: Typos Check
|
name: Typos Check
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
name: Spell Check with Typos
|
name: Spell Check with Typos
|
||||||
|
@ -8,6 +7,5 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Actions Repository
|
- name: Checkout Actions Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Check spelling
|
- name: Check spelling
|
||||||
uses: crate-ci/typos@master
|
uses: crate-ci/typos@master
|
||||||
|
|
Loading…
Reference in New Issue