mirror of
https://github.com/FutaGuard/LowTechFilter.git
synced 2025-06-21 05:21:02 +08:00
👷♀️ 自動檢查 issue 是否使用樣板
This commit is contained in:
parent
609bf2e7ec
commit
f445192bb9
18
.github/workflows/autoclose.yml
vendored
Normal file
18
.github/workflows/autoclose.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: autocloseissue
|
||||
|
||||
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}: 嗨 :wave:\n\n這個 issue 似乎沒有使用 issue 樣板提出,因此被我自動關閉了。"
|
||||
closed-issues-label: "🙁 未依照樣板提出"
|
Loading…
x
Reference in New Issue
Block a user