From 0d73f2919deac90b0c92f3b1686616455a8fea4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 16 Oct 2024 02:22:12 +0800 Subject: [PATCH] workflow: update auto-close --- .github/workflows/issue-auto-close.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/issue-auto-close.yml b/.github/workflows/issue-auto-close.yml index 43a8ef6cf4..daee1ede8f 100644 --- a/.github/workflows/issue-auto-close.yml +++ b/.github/workflows/issue-auto-close.yml @@ -1,4 +1,4 @@ -name: Issue Auto Close +name: Issue Auto Lock on: schedule: - cron: "0 */6 * * *" @@ -12,16 +12,14 @@ permissions: issues: write contents: read jobs: - issue-close: + issue-lock: runs-on: ubuntu-latest steps: - name: Set GH_REPO run: echo "GH_REPO=${{ github.repository }}" >> $GITHUB_ENV - - name: Auto Lock Baipiao - uses: devhaozi/issue-auto-lock@v1.0.0 + - name: Auto Lock Issue + uses: devhaozi/issue-auto-lock@v1 with: gh_repo: ${{ github.repository }} gh_token: ${{ secrets.GITHUB_TOKEN }} - issue_labels: "⭐ No Star" - issue_close_comment: 'Thank you for opening this issue. I noticed that you haven not given me a star yet, so I will close this issue. Please give me a star first and wait for it to be unlocked. Thank you for your understanding.' - issue_reopen_comment: 'Thank you for giving me a star. I have unlocked this issue. If you have any questions, please feel free to ask. Thank you for your support.' \ No newline at end of file + issue_labels: "⭐ No Star" \ No newline at end of file