-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include themes/anzhiyu in main repository
- Loading branch information
Showing
330 changed files
with
37,535 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Bug report | ||
description: Create a report to help us improve | ||
title: "[Bug]: " | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
重要:请依照该模板来提交 | ||
Please follow the template to create a new issue | ||
- type: input | ||
id: anzhiyu-ver | ||
attributes: | ||
label: 使用的 AnZhiYu 版本? | What version of AnZhiYu are you use? | ||
description: 检视主题的 package.json | Check the theme's package.json | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: browser | ||
attributes: | ||
label: 使用的浏览器? || What browse are you using? | ||
options: | ||
- Chrome | ||
- Edge | ||
- Safari | ||
- Opera | ||
- Other | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: modify | ||
attributes: | ||
label: 是否修改过主题文件? || Has the theme files been modified? | ||
options: | ||
- 是 (Yes) | ||
- 不是 (No) | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: platform | ||
attributes: | ||
label: 使用的系统? || What operating system are you using? | ||
options: | ||
- Windows | ||
- macOS | ||
- Linux | ||
- Android | ||
- iOS | ||
- Other | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: 问题描述 | Describe the bug | ||
description: 请描述你的问题现象 | A clear and concise description of what the bug is. | ||
placeholder: 请尽量提供截图来定位你的问题 | If applicable, add screenshots to help explain your problem | ||
value: | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: website | ||
attributes: | ||
label: 出现问题的网站 | Website | ||
description: 请提供下可复现的网站地址 | Please supply a website url which can reproduce problem. | ||
placeholder: | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Questions about AnZhiYu | ||
url: https://github.com/anzhiyu-c/hexo-theme-anzhiyu/discussions | ||
about: 一些使用问题请到 Discussion 询问。 Please ask questions in Discussion. | ||
|
||
- name: AnZhiYu Q&A | ||
url: https://blog.anheyu.com/comments/ | ||
about: AnZhiYu Q&A | ||
|
||
- name: QQ群 | ||
url: https://jq.qq.com/?_wv=1027&k=v7NK7ELr | ||
about: "群号 464636182" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project | ||
title: "[Feature]: " | ||
|
||
body: | ||
- type: textarea | ||
id: feature-request | ||
attributes: | ||
label: 想要的功能 | What feature do you want? | ||
description: 请描述你需要的新功能 | A clear and concise description of what the feature is. | ||
placeholder: | ||
value: | ||
validations: | ||
require: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Close need info | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 */1 * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
close-need-info: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: close-issues | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "close-issues" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: "question" | ||
inactive-day: 60 | ||
close-reason: "not_planned" | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}, this issue was closed due to no activities in 60 days. | ||
你好 @${{ github.event.issue.user.login }},此issue因超过60天未回复被关闭。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Close inactive | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 */7 * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
close-inactive: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: close-issues | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "close-issues" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: "stale" | ||
inactive-day: 60 | ||
close-reason: "not_planned" | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}, this issue was closed due to inactive more than 60 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Issue Duplicate | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
create-comment: | ||
runs-on: ubuntu-latest | ||
if: github.event.label.name == 'duplicate' | ||
steps: | ||
- name: Create comment | ||
uses: actions-cool/issues-helper@v2 | ||
with: | ||
actions: "create-comment" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}, your issue is duplicated and will be closed. | ||
你好 @${{ github.event.issue.user.login }},你的issue是重复的,将被关闭。 | ||
- name: Close issue | ||
uses: actions-cool/issues-helper@v2 | ||
with: | ||
actions: "close-issue" | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Issue Invalid | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
lock-issue: | ||
runs-on: ubuntu-latest | ||
if: github.event.label.name == 'invalid' | ||
steps: | ||
- name: Lock issue | ||
uses: actions-cool/issues-helper@v2 | ||
with: | ||
actions: "lock-issue" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
lock-reason: "off-topic" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Issue Question | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
create-comment: | ||
runs-on: ubuntu-latest | ||
if: github.event.label.name == 'question' | ||
steps: | ||
- name: Create comment | ||
uses: actions-cool/issues-helper@v2.0.0 | ||
with: | ||
actions: "create-comment" | ||
token: ${{ secrets.ISSUSE_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}, please input issue by template and add detail. Issues labeled by Need More Info will be closed if no activities in 7 days. | ||
你好 @${{ github.event.issue.user.login }},请按照issue模板填写, 并详细说明问题和复现步骤等, 60天内未回复issue自动关闭。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Issue Wontfix | ||
|
||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
lock-issue: | ||
runs-on: ubuntu-latest | ||
if: github.event.label.name == 'wontfix' | ||
steps: | ||
- name: Create comment | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "create-comment" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.issue.number }} | ||
body: | | ||
Hello @${{ github.event.issue.user.login }}, this issue will not be worked on and will be closed. | ||
你好 @${{ github.event.issue.user.login }},这不会被处理,将被关闭。 | ||
- name: Close issue | ||
uses: actions-cool/issues-helper@v3 | ||
with: | ||
actions: "close-issue" | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: npm publish | ||
|
||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# Setup .npmrc file to publish to npm | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm install | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
days-before-issue-stale: 30 | ||
days-before-pr-stale: -1 | ||
days-before-close: 7 | ||
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' | ||
close-pr-message: 'This issue has not seen any activity since it was marked stale. Closing.' | ||
stale-issue-label: 'Stale' | ||
exempt-issue-labels: 'pinned,bug,enhancement,documentation,Plan' | ||
operations-per-run: 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.DS_Store | ||
Thumbs.db | ||
db.json | ||
*.log | ||
node_modules/ | ||
public/ | ||
.deploy*/ | ||
.deploy_git*/ | ||
.idea |
Oops, something went wrong.