2021-11-13 13:47:35 -08:00
|
|
|
name: 'Lock Threads'
|
|
|
|
|
2023-01-25 11:13:35 -08:00
|
|
|
on:
|
2021-11-13 13:47:35 -08:00
|
|
|
schedule:
|
|
|
|
- cron: '13 23 * * *'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: lock
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
action:
|
|
|
|
runs-on: ubuntu-latest
|
2022-11-12 11:19:33 -08:00
|
|
|
if: github.repository_owner == 'prometheus'
|
2021-11-13 13:47:35 -08:00
|
|
|
steps:
|
2023-09-13 06:27:38 -07:00
|
|
|
- uses: dessant/lock-threads@be8aa5be94131386884a6da4189effda9b14aa21 # v4.0.1
|
2021-11-13 13:47:35 -08:00
|
|
|
with:
|
|
|
|
process-only: 'issues'
|
|
|
|
issue-inactive-days: '180'
|
|
|
|
github-token: ${{ secrets.PROMBOT_LOCKTHREADS_TOKEN }}
|