2021-07-30 03:19:04 +00:00
|
|
|
# Configuration for Lock Threads - https://github.com/dessant/lock-threads
|
|
|
|
|
|
|
|
name: 'Lock Threads'
|
|
|
|
|
2022-01-29 02:26:24 +00:00
|
|
|
# By specifying the access of one of the scopes, all of those that are not
|
|
|
|
# specified are set to 'none'.
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
|
2021-07-30 03:19:04 +00:00
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 * * * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock:
|
2021-09-14 18:17:03 +00:00
|
|
|
permissions:
|
|
|
|
issues: write
|
2021-07-30 03:19:04 +00:00
|
|
|
runs-on: ubuntu-latest
|
2021-08-04 00:55:21 +00:00
|
|
|
if: ${{ github.repository == 'flutter/flutter' }}
|
2021-07-30 03:19:04 +00:00
|
|
|
steps:
|
2022-12-05 21:41:25 +00:00
|
|
|
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
|
2021-07-30 03:19:04 +00:00
|
|
|
with:
|
2021-09-14 04:32:04 +00:00
|
|
|
process-only: 'issues'
|
2021-07-30 03:19:04 +00:00
|
|
|
github-token: ${{ github.token }}
|
|
|
|
# Number of days of inactivity before a closed issue is locked.
|
2022-02-08 06:10:18 +00:00
|
|
|
issue-inactive-days: '14'
|
|
|
|
issue-comment: >
|
2021-07-30 03:19:04 +00:00
|
|
|
This thread has been automatically locked since there has not been
|
|
|
|
any recent activity after it was closed. If you are still experiencing a
|
|
|
|
similar issue, please open a new bug, including the output of
|
|
|
|
`flutter doctor -v` and a minimal reproduction of the issue.
|