Unverified Commit 2bd60c8f authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] update issue-locking workflow (#6256)

parent 78d021c1
...@@ -18,15 +18,15 @@ jobs: ...@@ -18,15 +18,15 @@ jobs:
action: action:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dessant/lock-threads@v4 - uses: dessant/lock-threads@v5
with: with:
github-token: ${{ github.token }} github-token: ${{ github.token }}
# after how many days of inactivity should a closed issue/PR be locked? # after how many days of inactivity should a closed issue/PR be locked?
issue-inactive-days: '90' issue-inactive-days: '365'
pr-inactive-days: '90' pr-inactive-days: '365'
# do not close feature request issues... # do not close feature request issues...
# we close those but track them in https://github.com/microsoft/LightGBM/issues/2302 # we close those but track them in https://github.com/microsoft/LightGBM/issues/2302
exclude-any-issue-labels: '"feature request"' exclude-any-issue-labels: 'feature request'
# what labels should be removed prior to locking? # what labels should be removed prior to locking?
remove-issue-labels: 'awaiting response,awaiting review,blocking,in progress' remove-issue-labels: 'awaiting response,awaiting review,blocking,in progress'
remove-pr-labels: 'awaiting response,awaiting review,blocking,in progress' remove-pr-labels: 'awaiting response,awaiting review,blocking,in progress'
...@@ -42,3 +42,4 @@ jobs: ...@@ -42,3 +42,4 @@ jobs:
# what shoulld the locking status be? # what shoulld the locking status be?
issue-lock-reason: 'resolved' issue-lock-reason: 'resolved'
pr-lock-reason: 'resolved' pr-lock-reason: 'resolved'
process-only: 'issues, prs'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment