netbox/.github/workflows/lock-threads.yml

24 lines
474 B
YAML
Raw Normal View History

2020-11-04 14:58:20 +01:00
# lock-threads (https://github.com/marketplace/actions/lock-threads)
2024-03-25 14:55:21 +01:00
name: Lock threads
2020-11-04 14:58:20 +01:00
on:
schedule:
- cron: '0 3 * * *'
2022-09-29 18:36:10 +02:00
workflow_dispatch:
2020-11-04 14:58:20 +01:00
2022-09-29 18:17:10 +02:00
permissions:
issues: write
pull-requests: write
2024-01-21 05:02:55 +01:00
discussions: write
2022-09-29 18:17:10 +02:00
2020-11-04 14:58:20 +01:00
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
2020-11-04 14:58:20 +01:00
with:
issue-inactive-days: 90
pr-inactive-days: 30
discussion-inactive-days: 180
2020-11-04 14:58:20 +01:00
issue-lock-reason: 'resolved'