2020-06-23 20:58:00 -04:00
|
|
|
#
|
|
|
|
# lock-closed.yml
|
|
|
|
# Lock closed issues after a period of inactivity
|
|
|
|
#
|
|
|
|
|
2020-07-05 16:23:07 -04:00
|
|
|
name: Lock Closed Issues
|
2020-06-23 20:58:00 -04:00
|
|
|
|
|
|
|
on:
|
2020-06-30 19:18:58 -04:00
|
|
|
schedule:
|
2020-07-05 20:56:33 -04:00
|
|
|
- cron: '0 1/13 * * *'
|
2020-06-23 20:58:00 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock:
|
2020-07-05 16:23:07 -04:00
|
|
|
name: Lock Closed Issues
|
|
|
|
if: github.repository == 'MarlinFirmware/Marlin'
|
|
|
|
|
2020-06-23 20:58:00 -04:00
|
|
|
runs-on: ubuntu-latest
|
2020-07-05 16:23:07 -04:00
|
|
|
|
2020-06-23 20:58:00 -04:00
|
|
|
steps:
|
2020-07-08 05:38:35 -04:00
|
|
|
- uses: dessant/lock-threads@v2
|
2020-06-23 20:58:00 -04:00
|
|
|
with:
|
2020-06-30 19:18:58 -04:00
|
|
|
github-token: ${{ github.token }}
|
|
|
|
process-only: 'issues'
|
|
|
|
issue-lock-inactive-days: '60'
|
2021-01-11 16:06:55 -05:00
|
|
|
issue-exclude-created-before: '2017-07-01T00:00:00Z'
|
2020-06-30 19:18:58 -04:00
|
|
|
issue-exclude-labels: 'no-locking'
|
|
|
|
issue-lock-labels: ''
|
|
|
|
issue-lock-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.
|
|
|
|
issue-lock-reason: ''
|