code.gitea.io/gitea@v1.21.7/.github/workflows/cron-lock.yml (about)

     1  name: cron-lock
     2  
     3  on:
     4    schedule:
     5      - cron: "0 0 * * *" # every day at 00:00 UTC
     6    workflow_dispatch:
     7  
     8  permissions:
     9    issues: write
    10    pull-requests: write
    11  
    12  concurrency:
    13    group: lock
    14  
    15  jobs:
    16    action:
    17      runs-on: ubuntu-latest
    18      if: github.repository == 'go-gitea/gitea'
    19      steps:
    20        - uses: dessant/lock-threads@v4
    21          with:
    22            issue-inactive-days: 45