Skip to content

Commit d139073

Browse files
chore: Update workflows
1 parent f6e6f9c commit d139073

9 files changed

+5
-101
lines changed

.github/workflows/add-labels-for-pr.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
on: pull_request
2-
3-
name: 1Panel 通用 PR 处理
4-
2+
name: General PR Handling for 1Panel
53
permissions:
64
pull-requests: write
7-
85
jobs:
96
generic_handler:
10-
name: 为 PR 添加标签
7+
name: Add Labels to PR
118
runs-on: ubuntu-latest
129
steps:
1310
- uses: actions/checkout@v3

.github/workflows/release-drafter.yml renamed to .github/workflows/build-publish-to-oss.yml

+2-21
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
on:
22
push:
3-
# Sequence of patterns matched against refs/tags
43
tags:
5-
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
6-
4+
- 'v*'
75
name: Create Release And Upload assets
8-
96
jobs:
107
create-release:
118
runs-on: ubuntu-latest
@@ -36,22 +33,6 @@ jobs:
3633
if: startsWith(github.ref, 'refs/tags/')
3734
with:
3835
draft: true
39-
body: |
40-
# 一、安装和升级
41-
42-
## 1.1 一键安装
43-
```sh
44-
curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh
45-
```
46-
47-
## 1.2 在线升级
48-
49-
登录 1Panel Web 控制台,在页面右下角点击 **【检查更新】** 进行在线升级。
50-
51-
>更多信息请查阅在线文档:https://1panel.cn/docs/
52-
53-
# 二、更新日志
54-
5536
files: |
5637
dist/*.tar.gz
5738
dist/checksums.txt
@@ -63,4 +44,4 @@ jobs:
6344
access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
6445
ossutil-version: '1.7.18'
6546
- name: Upload Assets to OSS
66-
run: ossutil cp -r dist/ oss://resource-fit2cloud-com/1panel/package/stable/${{ github.ref_name }}/release/ --include "*.tar.gz" --include "checksums.txt" --only-current-dir --force
47+
run: ossutil cp -r dist/ oss://resource-fit2cloud-com/1panel/package/stable/${{ github.ref_name }}/release/ --include "*.tar.gz" --include "checksums.txt" --only-current-dir --force

.github/workflows/build-test.yml

-34
This file was deleted.

.github/workflows/issue-recent-alert.yml

-17
This file was deleted.

.github/workflows/issue-untimely-alert.yml

-17
This file was deleted.

.github/workflows/llm-code-review.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
name: LLM Code Review
2-
32
permissions:
43
contents: read
54
pull-requests: write
6-
75
on:
86
pull_request:
97
types: [opened, reopened, synchronize]
10-
118
jobs:
129
llm-code-review:
1310
runs-on: ubuntu-latest

.github/workflows/build.yml renamed to .github/workflows/sonarcloud-scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
uses: SonarSource/sonarcloud-github-action@master
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
20-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/sync2gitee.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: sync2gitee
22
on: [push]
3-
43
jobs:
54
repo-sync:
65
runs-on: ubuntu-latest

.github/workflows/tyops-check.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
name: Typos Check
22
on: pull_request
3-
43
jobs:
54
run:
65
name: Spell Check with Typos
76
runs-on: ubuntu-latest
87
steps:
98
- name: Checkout Actions Repository
109
uses: actions/checkout@v2
11-
1210
- name: Check spelling
1311
uses: crate-ci/typos@master

0 commit comments

Comments
 (0)