浏览代码

Update lock threads action; lock closed PRs after 30 days

jeremystretch 3 年之前
父节点
当前提交
1d033bd286
共有 1 个文件被更改,包括 3 次插入7 次删除
  1. 3 7
      .github/workflows/lock.yml

+ 3 - 7
.github/workflows/lock.yml

@@ -9,13 +9,9 @@ jobs:
   lock:
   lock:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
-      - uses: dessant/lock-threads@v2
+      - uses: dessant/lock-threads@v3
         with:
         with:
           github-token: ${{ github.token }}
           github-token: ${{ github.token }}
-          issue-lock-inactive-days: '90'
-          issue-exclude-created-before: ''
-          issue-exclude-labels: ''
-          issue-lock-labels: ''
-          issue-lock-comment: ''
+          issue-inactive-days: 90
+          pr-inactive-days: 30
           issue-lock-reason: 'resolved'
           issue-lock-reason: 'resolved'
-          process-only: 'issues'