From 4ca5ec6d1ba7c01dc028162e9a4d55b79192f768 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Sun, 7 Jul 2024 00:00:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/'=20wi?= =?UTF-8?q?th=20remote=20'github/'=20(#532)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lock.yaml | 19 +++++++++---------- .github/workflows/stale.yaml | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lock.yaml b/.github/workflows/lock.yaml index 44f2eff..18e821b 100644 --- a/.github/workflows/lock.yaml +++ b/.github/workflows/lock.yaml @@ -4,22 +4,21 @@ name: Lock # yamllint disable-line rule:truthy on: schedule: - - cron: "0 8 * * *" + - cron: "0 3 * * *" workflow_dispatch: jobs: - lock: - name: 🔒 Lock closed issues and PRs + inactivity-lock: + name: Lock issues and PRs runs-on: ubuntu-latest permissions: issues: write pull-requests: write - discussions: write steps: - - uses: dessant/lock-threads@v5.0.1 + - name: 🔒 Lock closed issues and PRs + uses: klaasnicolaas/action-inactivity-lock@v1.1.0 with: - github-token: ${{ secrets.GITHUB_TOKEN }} - issue-inactive-days: "30" - issue-lock-reason: "" - pr-inactive-days: "1" - pr-lock-reason: "" + days-inactive-issues: 30 + lock-reason-issues: "" + days-inactive-prs: 1 + lock-reason-prs: "" diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 1e34987..ae59f9a 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -4,7 +4,7 @@ name: Stale # yamllint disable-line rule:truthy on: schedule: - - cron: "0 7 * * *" + - cron: "0 1 * * *" workflow_dispatch: jobs: