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:
|
2023-12-21 11:01:04 +05:30
|
|
|
- uses: dessant/lock-threads@v5
|
2023-05-05 07:47:29 +05:30
|
|
|
with:
|
|
|
|
issue-inactive-days: 45
|