From 0f10bd6cdcf210ed3e5cd4d3e0b5fe580818b586 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 24 May 2024 06:31:35 +0530 Subject: [PATCH] Update lock threads to latest --- .github/workflows/lock.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index b220cfba8..dc7d8ac53 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -3,12 +3,21 @@ name: 'Lock threads' on: schedule: - cron: '0 0 * * *' + workflow_dispatch: + +permissions: + issues: write + pull-requests: write + discussions: write + +concurrency: + group: lock-threads jobs: lock: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@v2 + - uses: dessant/lock-threads@v5 with: github-token: ${{ github.token }} issue-lock-inactive-days: '30'