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