mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-17 19:46:18 +00:00
c78b923822
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
23 lines
371 B
YAML
23 lines
371 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@v4
|
|
with:
|
|
issue-inactive-days: 45
|