mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
17 lines
674 B
YAML
17 lines
674 B
YAML
|
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}: hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template.\nPlease review this project's issue policy https://docs.raspap.com/issues" # optional property
|
||
|
closed-issues-label: "invalid" # optional property
|