1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-12-15 23:11:46 +00:00
MarlinFirmware/.github/workflows/lock-closed.yml

33 lines
812 B
YAML
Raw Normal View History

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-06 00:56:33 +00:00
- cron: '0 1/13 * * *'
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-07-08 09:38:35 +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: '2017-07-01T00:00:00Z'
2020-06-30 23:18:58 +00: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: ''