Compare commits
19 Commits
v1.1.4
...
huanghs-pa
Author | SHA1 | Date | |
---|---|---|---|
30da36b5af | |||
04c9d3a58b | |||
4a04a065a6 | |||
b374e2fc6d | |||
1f238754ac | |||
691a093f08 | |||
b2efccff05 | |||
2d3d7d3b9e | |||
2e290ae6dd | |||
be1fea96db | |||
a0ffafb622 | |||
64e514eadc | |||
c887293f4f | |||
b09805f2e1 | |||
aeb9b13404 | |||
f561fe53c9 | |||
8446585354 | |||
b87bfef1f6 | |||
ac8068a450 |
23
.gitea/actions/action-docker-build-push/action.yml
Normal file
23
.gitea/actions/action-docker-build-push/action.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: 'Docker build and push'
|
||||||
|
description: 'Setup docker, build image and push'
|
||||||
|
|
||||||
|
inputs:
|
||||||
|
password:
|
||||||
|
description: 'Password or personal access token used to log against the Docker registry'
|
||||||
|
required: false
|
||||||
|
|
||||||
|
runs:
|
||||||
|
using: 'composite'
|
||||||
|
steps:
|
||||||
|
- run: "echo a: Set up QEMU"
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
sleep 10
|
||||||
|
echo 'sleep 10 end'
|
||||||
|
|
||||||
|
- run: "echo b: Login to DockerHub"
|
||||||
|
if: ${{ inputs.password != '' }}
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
sleep 10
|
||||||
|
echo 'c: Set up Docker BuildX'
|
@@ -1,59 +1,40 @@
|
|||||||
name: Bug Report
|
name: 推荐模板
|
||||||
about: File a bug report
|
about: 从推荐模板创建一个工单。
|
||||||
title: "[Bug]: "
|
title: "应用: "
|
||||||
|
labels:
|
||||||
|
- bug
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this bug report!
|
标题前方的 "应用" 请改为涉及的应用名称,且标题内容用一句话概括所描述情况,例如:"跟进: 修复跟进内容加密后emoji图标无法正常显示"
|
||||||
- type: input
|
|
||||||
id: contact
|
|
||||||
attributes:
|
|
||||||
label: Contact Details
|
|
||||||
description: How can we get in touch with you if we need more info?
|
|
||||||
placeholder: ex. email@example.com
|
|
||||||
validations:
|
|
||||||
required: false
|
|
||||||
- type: textarea
|
|
||||||
id: what-happened
|
|
||||||
attributes:
|
|
||||||
label: What happened?
|
|
||||||
description: Also tell us, what did you expect to happen?
|
|
||||||
placeholder: Tell us what you see!
|
|
||||||
value: "A bug happened!"
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: version
|
|
||||||
attributes:
|
attributes:
|
||||||
label: Version
|
label: 影响范围
|
||||||
description: What version of our software are you running?
|
|
||||||
options:
|
|
||||||
- 1.0.2 (Default)
|
|
||||||
- 1.0.3 (Edge)
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
- type: dropdown
|
|
||||||
id: browsers
|
|
||||||
attributes:
|
|
||||||
label: What browsers are you seeing the problem on?
|
|
||||||
multiple: true
|
multiple: true
|
||||||
options:
|
options:
|
||||||
- Firefox
|
- 微信小程序
|
||||||
- Chrome
|
- H5
|
||||||
- Safari
|
- Web
|
||||||
- Microsoft Edge
|
- 服务端
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: logs
|
|
||||||
attributes:
|
attributes:
|
||||||
label: Relevant log output
|
label: 描述
|
||||||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
description: 请尽可能描述清楚例如问题描述、回显步骤、预期结果等,以免日后不能理解当初此工单内容表达的含义
|
||||||
render: shell
|
placeholder: 请输入...
|
||||||
- type: checkboxes
|
validations:
|
||||||
id: terms
|
|
||||||
attributes:
|
|
||||||
label: Code of Conduct
|
|
||||||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
|
|
||||||
options:
|
|
||||||
- label: I agree to follow this project's Code of Conduct
|
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
attributes:
|
||||||
|
label: 截图
|
||||||
|
description: 操作截图、日志截图、相关代码截图等
|
||||||
|
placeholder: 请输入...
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: 提出人
|
||||||
|
description: 若问题非创建者提出,而是例如客户或用户提出,此时应记录真实提出人员
|
||||||
|
placeholder: 例如:张三
|
||||||
|
13
.gitea/workflows/build-docker.yml
Normal file
13
.gitea/workflows/build-docker.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name: Gitea Actions Demo
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build-docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Docker build push
|
||||||
|
uses: ./.gitea/actions/action-docker-build-push
|
||||||
|
|
||||||
|
- run: echo The end
|
16
.gitea/workflows/pull_request.yml
Normal file
16
.gitea/workflows/pull_request.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Test pull_request
|
||||||
|
|
||||||
|
on:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
cat README.md
|
16
.gitea/workflows/pull_request_target.yml
Normal file
16
.gitea/workflows/pull_request_target.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Test pull_request_target
|
||||||
|
|
||||||
|
on:
|
||||||
|
- pull_request_target
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- run: |
|
||||||
|
cat README.md
|
Reference in New Issue
Block a user