From b076c92eb07069916df272e8553df350f60a0345 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 17 Apr 2023 06:15:07 +0200 Subject: [PATCH 1/2] Update lock.yml Signed-off-by: James Cole --- .github/workflows/lock.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 94c2c5cd11..0b4c446ba5 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -5,20 +5,17 @@ on: schedule: - cron: '0 0 * * *' -permissions: - contents: read - jobs: lock: permissions: - issues: write # for dessant/lock-threads to lock issues - pull-requests: write # for dessant/lock-threads to lock PRs + issues: write + pull-requests: write runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v4 with: github-token: ${{ github.token }} - issue-lock-inactive-days: '90' + issue-inactive-days: 90 issue-comment: > Hi there! This is an automatic reply. `Share and enjoy` From c620d57f424c251463c272bd6ce21f0c417f21bc Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 17 Apr 2023 06:16:07 +0200 Subject: [PATCH 2/2] Update lock.yml Signed-off-by: James Cole --- .github/workflows/lock.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 0b4c446ba5..bb1e4a4455 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -16,6 +16,7 @@ jobs: with: github-token: ${{ github.token }} issue-inactive-days: 90 + pr-inactive-days: 90 issue-comment: > Hi there! This is an automatic reply. `Share and enjoy`