1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

24 lines
474 B
YAML
Raw Permalink Normal View History

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