diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 00000000..d5cd3cf1 --- /dev/null +++ b/.github/workflows/issues.yml @@ -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 }} diff --git a/settings.yaml b/settings.yaml index 4ba53eac..aa935145 100644 --- a/settings.yaml +++ b/settings.yaml @@ -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: diff --git a/templates/douban.html b/templates/douban.html deleted file mode 100644 index a7f61a35..00000000 --- a/templates/douban.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - -
- - - -
-
- -
- -
-
- -
-
-
- -
-
- - - - 电影 - - - - 图书 - - - - 音乐 - - - - 游戏 - - - - 舞台剧 - - -
-
- - -
- - - - - - - -
-
- -
- - - - - - -
-
-
-
-
-
-
-
- -
-
-
-
- -
- -
- - \ No newline at end of file