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-12-01 15:23:47 -08:00
|
|
|
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
|
2021-11-13 13:47:35 -08:00
|
|
|
with:
|
|
|
|
process-only: 'issues'
|
|
|
|
issue-inactive-days: '180'
|
|
|
|
github-token: ${{ secrets.PROMBOT_LOCKTHREADS_TOKEN }}
|