Merge pull request #667 from dwertent/master

Adding close `typo` issues workflow
This commit is contained in:
David Wertenteil
2022-08-24 14:40:16 +03:00
committed by GitHub
+18
View File
@@ -0,0 +1,18 @@
on:
issues:
types: [opened, labeled]
jobs:
build:
if: ${{ github.event.label.name == 'typo' }}
runs-on: ubuntu-latest
auto_close_issues:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Automatically close typo issues
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, Please open a PR with a relevant fix."