mirror of
https://github.com/timerring/bilive.git
synced 2026-05-06 13:30:13 +08:00
Disable automatic issue closing and locking
- Add enable-issue-pending-close: false to prevent stale action from closing issues - Comment out lock-threads action to disable issue/PR locking - Keep PR stale handling enabled (180 days) - Fixes issue where半年 issues were being automatically closed despite configuration
This commit is contained in:
30
.github/workflows/stale.yml
vendored
30
.github/workflows/stale.yml
vendored
@@ -12,23 +12,25 @@ jobs:
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/lock-threads@7de207be1d3ce97a9abe6ff1306222982d1ca9f9 # v5.0.1
|
||||
with:
|
||||
# Issue locking disabled
|
||||
# issue-inactive-days: 365 # 1 year
|
||||
# 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@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
||||
# - uses: dessant/lock-threads@7de207be1d3ce97a9abe6ff1306222982d1ca9f9 # v5.0.1
|
||||
# with:
|
||||
# # Issue locking disabled
|
||||
# # issue-inactive-days: 365 # 1 year
|
||||
# # 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@28ca1036281a5ce5922ead5184a1bbf96e5fc984e # v9.0.0
|
||||
with:
|
||||
operations-per-run: 999
|
||||
# Issue handling disabled
|
||||
enable-issue-pending-close: false
|
||||
enable-pr-pending-close: true
|
||||
# days-before-issue-stale: 180 # 6 months
|
||||
days-before-pr-stale: 180 # 6 months
|
||||
# days-before-issue-close: 180 # 6 months
|
||||
|
||||
Reference in New Issue
Block a user