flutter/.github/workflows/lock.yaml
dependabot[bot] 5d042eb350
Bump dessant/lock-threads from 3.0.0 to 4.0.0 (#116545)
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/master/CHANGELOG.md)
- [Commits](e460dfeb36...c1b35aecc5)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 21:41:25 +00:00

32 lines
1 KiB
YAML

# Configuration for Lock Threads - https://github.com/dessant/lock-threads
name: 'Lock Threads'
# By specifying the access of one of the scopes, all of those that are not
# specified are set to 'none'.
permissions:
issues: write
on:
schedule:
- cron: '0 * * * *'
jobs:
lock:
permissions:
issues: write
runs-on: ubuntu-latest
if: ${{ github.repository == 'flutter/flutter' }}
steps:
- uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836
with:
process-only: 'issues'
github-token: ${{ github.token }}
# Number of days of inactivity before a closed issue is locked.
issue-inactive-days: '14'
issue-comment: >
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.