diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index d32b27d5ee..9ba88a2a88 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -5,6 +5,14 @@ on: schedule: - cron: '0 0 * * *' +concurrency: + group: lock-threads + +permissions: + issues: write + pull-requests: write + discussions: write + jobs: lock: permissions: @@ -12,8 +20,9 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: JC5/lock-threads@main + - uses: dessant/lock-threads@v5 with: github-token: ${{ github.token }} issue-inactive-days: 7 pr-inactive-days: 7 + log-output: true