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