From eafe54493da22a0086cd972bd1a80899d045c1ab Mon Sep 17 00:00:00 2001 From: ALTaleX <105535231+ALTaleX531@users.noreply.github.com> Date: Tue, 3 Sep 2024 10:13:08 +0800 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ba498f4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: Close empty issues and templates +on: + issues: + types: + - reopened + - opened + - edited + +jobs: + closeEmptyIssuesAndTemplates: + name: Close empty issues and templates + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 # NOTE: Retrieve issue templates. + - name: Run empty issues closer action + uses: rickstaa/empty-issues-closer-action@v1.1.74 + env: + github_token: ${{ secrets.GITHUB_TOKEN }} + with: + close_comment: Closing this issue because it appears to be empty. Please update the issue for it to be reopened. + open_comment: Reopening this issue because the author provided more information. + check_templates: true + template_close_comment: Closing this issue since the issue template was not filled in. Please provide us with more information to have this issue reopened. + template_open_comment: Reopening this issue because the author provided more information.