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: