2023-05-12 06:51:28 +05:30
|
|
|
name: cron-lock
|
2023-05-05 07:47:29 +05:30
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-05-12 06:51:28 +05:30
|
|
|
- cron: "0 0 * * *" # every day at 00:00 UTC
|
2023-05-05 07:47:29 +05:30
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: lock
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
action:
|
|
|
|
runs-on: ubuntu-latest
|
2023-05-16 08:23:18 +05:30
|
|
|
if: github.repository == 'go-gitea/gitea'
|
2023-05-05 07:47:29 +05:30
|
|
|
steps:
|
|
|
|
- uses: dessant/lock-threads@v4
|
|
|
|
with:
|
|
|
|
issue-inactive-days: 45
|