From b7eba92b2ba66e0e8e5496e2f6a4849b066ccb7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 16 Oct 2024 01:47:42 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"workflow:=20=E6=9A=82=E6=97=B6?= =?UTF-8?q?=E7=A7=BB=E9=99=A4auto-close=E5=A8=81=E5=8A=9B=E5=A4=AA?= =?UTF-8?q?=E5=A4=A7=E4=BA=86"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2c339b9923b57fd9671804895912cacda08aadb3. --- .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..140aae95 --- /dev/null +++ b/.github/workflows/issue-auto-close.yml @@ -0,0 +1,25 @@ +name: Issue Auto Close +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@v0.1.7 + with: + gh_repo: ${{ github.repository }} + gh_token: ${{ secrets.GITHUB_TOKEN }} + issue_labels: "⭐ No Star" \ No newline at end of file