mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 04:11:35 -05:00
github: Add lock-threads step
This commit is contained in:
parent
ed04ed5745
commit
408da43657
1 changed files with 13 additions and 1 deletions
14
.github/workflows/stale.yml
vendored
14
.github/workflows/stale.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: 'Close stale issues and PRs'
|
name: 'Close stale and lock closed issues and PRs'
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 1 * * *'
|
- cron: '30 1 * * *'
|
||||||
|
@ -6,6 +6,18 @@ jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: dessant/lock-threads@08e671be8ac8944d0e132aa71d0ae8ccfb347675
|
||||||
|
with:
|
||||||
|
issue-inactive-days: 7
|
||||||
|
add-issue-labels: 'Outdated'
|
||||||
|
issue-comment: >
|
||||||
|
This issue has been automatically locked since there
|
||||||
|
has not been any recent activity after it was closed.
|
||||||
|
Please open a new issue for related bugs.
|
||||||
|
pr-comment: >
|
||||||
|
This pull request has been automatically locked since there
|
||||||
|
has not been any recent activity after it was closed.
|
||||||
|
Please open a new issue for related bugs.
|
||||||
- uses: actions/stale@04a1828bc18ada028d85a0252a47cd2963a91abe
|
- uses: actions/stale@04a1828bc18ada028d85a0252a47cd2963a91abe
|
||||||
with:
|
with:
|
||||||
days-before-issue-stale: 600
|
days-before-issue-stale: 600
|
||||||
|
|
Loading…
Reference in a new issue