From d6a1c133280d50b01caaa975ceae637ca97e6478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 16 Oct 2024 01:02:37 +0800 Subject: [PATCH] =?UTF-8?q?workflow:=20=E6=B7=BB=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=85=B3=E9=97=ADissue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-auto-close.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/issue-auto-close.yml diff --git a/.github/workflows/issue-auto-close.yml b/.github/workflows/issue-auto-close.yml new file mode 100644 index 00000000..5888d70f --- /dev/null +++ b/.github/workflows/issue-auto-close.yml @@ -0,0 +1,25 @@ +name: Issue Auto Reply +on: + schedule: + - cron: "0 */6 * * *" + workflow_dispatch: + push: + branches: + - main + issues: + types: [ opened ] +permissions: + issues: write + contents: read +jobs: + issue-close: + runs-on: ubuntu-latest + steps: + - name: Set GH_REPO + run: echo "GH_REPO=${{ github.repository }}" >> $GITHUB_ENV + - name: Auto Lock Baipiao + uses: 14790897/auto-lock-baipiao@v1.0.1 + with: + gh_repo: ${{ github.repository }} + gh_token: ${{ secrets.GITHUB_TOKEN }} + issue_labels: "⭐ No Star" \ No newline at end of file