mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:31:34 +01:00
0900c1552b
also point to the docs to explain why we do so followup to #29433
27 lines
750 B
YAML
27 lines
750 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@v5
|
|
with:
|
|
issue-inactive-days: 10
|
|
issue-comment: |
|
|
Automatically locked because of our [CONTRIBUTING guidelines](https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md#issue-locking)
|
|
pr-inactive-days: 7
|
|
pr-comment: |
|
|
Automatically locked because of our [CONTRIBUTING guidelines](https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md#issue-locking)
|