mirror of
https://github.com/outbackdingo/openwrt-passwall-packages.git
synced 2026-01-27 10:19:59 +00:00
Create Templates
This commit is contained in:
35
.github/ISSUE_TEMPLATE/Bug_report.md
vendored
Normal file
35
.github/ISSUE_TEMPLATE/Bug_report.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
name: Bug上报
|
||||
about: 创建报告以帮助我们改进
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
## 描述bug(必填)
|
||||
<!-- 对于bug的清晰简洁的描述. -->
|
||||
|
||||
## 复现步骤(必填)
|
||||
<!-- 重现Bug步骤: -->
|
||||
<!-- 1. 选择菜单'...' -->
|
||||
<!-- 2. 点击按钮 '....' -->
|
||||
<!-- 3. 等等操作 '....' -->
|
||||
<!-- 4. 出现Bug -->
|
||||
|
||||
## 你想要实现的目的(必填)
|
||||
<!--对你期望发生的事情的清晰简洁的描述。-->
|
||||
|
||||
## 日志信息(必填!)
|
||||
<!--包括问题相关的所有系统日志信息(这个很重要)。-->
|
||||
|
||||
## 截图
|
||||
<!--如果适用,请添加屏幕截图以帮助解释你的问题。-->
|
||||
|
||||
|
||||
## 系统相关信息(必填)
|
||||
<!-- - passwall版本-->
|
||||
<!-- - 浏览器版本,例如Chrome 96.0.4664.45(正式版本) (64 位)-->
|
||||
|
||||
## 其他相关信息
|
||||
<!-- 在此处添加有关该Bug的任何其他信息。-->
|
||||
20
.github/ISSUE_TEMPLATE/Feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/Feature_request.md
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: 功能请求
|
||||
about: 为这个项目提出一个新功能的想法
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
## 你的功能请求是否与问题有关? 请描述。(必填)
|
||||
<!-- 对问题所在的清晰简洁的描述。 例如。 当 [...] 时,我总是[....] -->
|
||||
|
||||
## 描述你想要的解决方案 (必填)
|
||||
<!-- 对你想要的新功能的清晰简洁的描述。 -->
|
||||
|
||||
## 描述你考虑过的替代方案
|
||||
<!--对你考虑过的任何替代解决方案或功能的清晰简明描述。-->
|
||||
|
||||
## 附加上下文
|
||||
<!--在此处添加有关功能请求的任何其他信息或屏幕截图。-->
|
||||
17
.github/workflows/Auto_Close_Not_Following_Template_Issue.yml
vendored
Normal file
17
.github/workflows/Auto_Close_Not_Following_Template_Issue.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: "Auto Close Not Following Template Issue"
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
auto_close_issues:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Automatically close issues that don't follow the issue template
|
||||
uses: lucasbento/auto-close-issues@v1.0.2
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-close-message: "@${issue.user.login}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template." # optional property
|
||||
closed-issues-label: "🙁 Not following issue template" # optional property
|
||||
27
.github/workflows/Close stale issues and Prs.yml
vendored
Normal file
27
.github/workflows/Close stale issues and Prs.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: "Close stale issues and PRs"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 1 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v4
|
||||
with:
|
||||
stale-issue-message: "Stale Issue"
|
||||
stale-pr-message: "Stale PR"
|
||||
stale-issue-label: "no-issue-activity"
|
||||
exempt-issue-labels: "awaiting-approval,work-in-progress"
|
||||
stale-pr-label: "no-pr-activity"
|
||||
exempt-pr-labels: "awaiting-approval,work-in-progress"
|
||||
# only-labels: 'bug,enhancement'
|
||||
days-before-issue-stale: 10
|
||||
days-before-pr-stale: 10
|
||||
days-before-issue-close: 5
|
||||
days-before-pr-close: -1
|
||||
|
||||
- uses: GitRML/delete-workflow-runs@main
|
||||
with:
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 0
|
||||
Reference in New Issue
Block a user