mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-12-27 01:21:19 +01:00
20 lines
660 B
YAML
20 lines
660 B
YAML
name: 'Close stale issues and PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '00 10 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
stale-issue-message: 'This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
|
|
stale-pr-message: 'This PR is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
|
|
days-before-stale: 120
|
|
days-before-close: 14
|