2023-05-11 19:21:28 -06:00
|
|
|
name: cron-lock
|
2023-05-04 20:17:29 -06:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-05-11 19:21:28 -06:00
|
|
|
- cron: "0 0 * * *" # every day at 00:00 UTC
|
2023-05-04 20:17:29 -06:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: lock
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
action:
|
|
|
|
runs-on: ubuntu-latest
|
2023-05-15 20:53:18 -06:00
|
|
|
if: github.repository == 'go-gitea/gitea'
|
2023-05-04 20:17:29 -06:00
|
|
|
steps:
|
2023-12-20 22:31:04 -07:00
|
|
|
- uses: dessant/lock-threads@v5
|
2023-05-04 20:17:29 -06:00
|
|
|
with:
|
2024-02-27 04:51:51 -07:00
|
|
|
issue-inactive-days: 10
|
|
|
|
pr-inactive-days: 7
|