Skip to content

Commit

Permalink
chore: added auto-close github action
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Jan 16, 2021
1 parent a6000bf commit 4451d34
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/stale.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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." # optional property
closed-issues-label: "🙁 Not following issue template" # optional property

0 comments on commit 4451d34

Please sign in to comment.