prometheus/.github/workflows/lock.yml
Julien Pivotto f678ae2146
Switch issues locking to github actions (#9715)
* Switch issues locking to github actions

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-11-13 22:47:35 +01:00

23 lines
385 B
YAML

name: 'Lock Threads'
on:
schedule:
- cron: '13 23 * * *'
workflow_dispatch:
permissions:
issues: write
concurrency:
group: lock
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
process-only: 'issues'
issue-inactive-days: '180'
github-token: ${{ secrets.PROMBOT_LOCKTHREADS_TOKEN }}