2020-06-24 00:58:00 +00:00
|
|
|
#
|
|
|
|
# lock-closed.yml
|
|
|
|
# Lock closed issues after a period of inactivity
|
|
|
|
#
|
|
|
|
|
2020-07-05 20:23:07 +00:00
|
|
|
name: Lock Closed Issues
|
2020-06-24 00:58:00 +00:00
|
|
|
|
|
|
|
on:
|
2020-06-30 23:18:58 +00:00
|
|
|
schedule:
|
2020-07-04 22:28:23 +00:00
|
|
|
- cron: '* */12 * * *'
|
2020-06-24 00:58:00 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock:
|
2020-07-05 20:23:07 +00:00
|
|
|
name: Lock Closed Issues
|
|
|
|
if: github.repository == 'MarlinFirmware/Marlin'
|
|
|
|
|
2020-06-24 00:58:00 +00:00
|
|
|
runs-on: ubuntu-latest
|
2020-07-05 20:23:07 +00:00
|
|
|
|
2020-06-24 00:58:00 +00:00
|
|
|
steps:
|
2020-06-30 23:18:58 +00:00
|
|
|
- uses: dessant/lock-threads@v2
|
2020-06-24 00:58:00 +00:00
|
|
|
with:
|
2020-06-30 23:18:58 +00:00
|
|
|
github-token: ${{ github.token }}
|
|
|
|
process-only: 'issues'
|
|
|
|
issue-lock-inactive-days: '60'
|
|
|
|
issue-exclude-created-before: ''
|
|
|
|
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: ''
|