Marlin/.github/workflows/lock-closed.yml

33 lines
792 B
YAML
Raw Normal View History

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-04 18:28:23 -04:00
- cron: '* */12 * * *'
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-06-30 19:18:58 -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'
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: ''