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

33 lines
792 B
YAML
Raw Normal View History

2020-06-24 02:58:00 +02:00
#
# lock-closed.yml
# Lock closed issues after a period of inactivity
#
2020-07-05 22:23:07 +02:00
name: Lock Closed Issues
2020-06-24 02:58:00 +02:00
on:
2020-07-01 01:18:58 +02:00
schedule:
2020-07-06 02:56:33 +02:00
- cron: '0 1/13 * * *'
2020-06-24 02:58:00 +02:00
jobs:
lock:
2020-07-05 22:23:07 +02:00
name: Lock Closed Issues
if: github.repository == 'MarlinFirmware/Marlin'
2020-06-24 02:58:00 +02:00
runs-on: ubuntu-latest
2020-07-05 22:23:07 +02:00
2020-06-24 02:58:00 +02:00
steps:
2020-07-08 11:38:35 +02:00
- uses: dessant/lock-threads@v2
2020-06-24 02:58:00 +02:00
with:
2020-07-01 01:18:58 +02: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: ''