mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 09:51:39 -05:00
c1e9c7b7b9
With comments happening on closed issues/prs this locks issues that have been closed for >45days. This allows for comments on recently closed issues/prs to still happen. --------- Co-authored-by: silverwind <me@silverwind.io>
21 lines
322 B
YAML
21 lines
322 B
YAML
name: 'Lock Threads'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *' # Run once a day
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
concurrency:
|
|
group: lock
|
|
|
|
jobs:
|
|
action:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@v4
|
|
with:
|
|
issue-inactive-days: 45
|