forked from mobile-dev-inc/maestro
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 1.06 KB
/
lock-closed-issues.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Lock closed issues that have been inactive for a while.
# This workflow is copied from Flutter
# https://github.com/flutter/flutter/blob/3.22.0/.github/workflows/lock.yaml
name: lock closed issues
permissions:
issues: write
on:
schedule:
- cron: '0 */6 * * *'
jobs:
lock:
permissions:
issues: write
runs-on: ubuntu-latest
if: github.repository == 'mobile-dev-inc/maestro'
steps:
- uses: dessant/lock-threads@v5
with:
process-only: issues
github-token: ${{ github.token }}
# Number of days of inactivity before a closed issue is locked.
issue-inactive-days: 7
issue-comment: >
This issue has been automatically locked since there has not been
any recent activity after it was closed. If you are still
experiencing a similar problem, please file a new issue. Make
sure to follow the template and provide all the information
necessary to reproduce the issue.
Thank you for helping keep us our issue tracker clean!