wstunnel/.github/workflows/auto-close.yaml
Erèbe - Romain Gerard f0fa8667d9
Update auto-close.yaml
2024-06-30 11:30:18 +02:00

20 lines
603 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: roots/issue-closer@v1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-pattern: ".*Describe the (bug|feature|goal).*"
issue-close-message: |-
Hello @${issue.user.login} :wave:
This issue is being automatically closed because it does not follow the issue template.