mirror of
https://github.com/go-gitea/gitea
synced 2024-11-02 08:14:25 +00:00
5e32cd6beb
This reduces the number of emails/notifications on outdated issues. Co-authored-by: John Olheiser <john.olheiser@gmail.com>
24 lines
401 B
YAML
24 lines
401 B
YAML
name: cron-lock
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *" # every day at 00:00 UTC
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
concurrency:
|
|
group: lock
|
|
|
|
jobs:
|
|
action:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'go-gitea/gitea'
|
|
steps:
|
|
- uses: dessant/lock-threads@v5
|
|
with:
|
|
issue-inactive-days: 10
|
|
pr-inactive-days: 7
|