Skip to content

Commit

Permalink
Merge pull request #700 from carolcoral/main
Browse files Browse the repository at this point in the history
删除豆瓣页面和豆瓣设置(可使用豆瓣插件添加页面)和新增issue自动关闭配置
  • Loading branch information
carolcoral authored Mar 21, 2024
2 parents 594e001 + 2721eee commit 8edde29
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 144 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 30
days-before-issue-close: 14
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
31 changes: 0 additions & 31 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1644,37 +1644,6 @@ spec:
label: 按钮跳转连链接
placeholder: 请输入跳转 url

- group: douban
label: 豆瓣
formSchema:
- $formkit: attachment
name: backgroundImg
label: 背景图
value: https://liuzhihang.com/upload/moments.png
placeholder: 请输入图片地址
- $formkit: text
name: smallTitle
label: 小标题
value: 电影
- $formkit: text
name: bigTitle
label: 大标题
value: 静下来慢慢感受着,流淌的故事。
- $formkit: text
name: detail
label: 描述
value: 跟 hao 用心体会电影的魅力
- $formkit: text
name: buttonTitle
label: 按钮标题
value: 感受更多
- $formkit: url
name: buttonUrl
validation: url
value: https://www.douban.com/search?cat=1002&q=%E6%9C%80%E6%96%B0%E7%94%B5%E5%BD%B1
label: 按钮跳转连链接
placeholder: 请输入跳转 url

- group: link
label: 友链
formSchema:
Expand Down
113 changes: 0 additions & 113 deletions templates/douban.html

This file was deleted.

0 comments on commit 8edde29

Please sign in to comment.