[Feature Request] 博客主题根据最新修改日期排序文章 #1189
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
name: issue-labeled | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
issue-invalid: | |
name: close invalid issue | |
if: github.event.label.name == 'invalid' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-cool/issues-helper@v3 | |
with: | |
actions: close-issue, create-comment | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: | | |
Hello @${{ github.event.issue.user.login }}. This issue is marked as `invalid` and closed. Please make sure you are reporting an issue and following the issue template. | |
issue-need-reproduction: | |
name: need reproduction | |
if: github.event.label.name == 'needs reproduction' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions-cool/issues-helper@v3 | |
with: | |
actions: create-comment | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: | | |
Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [vuepress-theme-hope.github.io/v2-new](https://vuepress-theme-hope.github.io/v2-new). Issues marked with `needs reproduction` will be closed if they have no activity within 3 days. |