mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 08:42:45 +08:00
21 lines
624 B
YAML
21 lines
624 B
YAML
name: 'Close stale PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '30 1 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v8
|
|
with:
|
|
days-before-stale: 60
|
|
days-before-close: 14
|
|
stale-pr-message: 'This pull request has been automatically marked as stale because it has been open for 60 days with no activity. To keep it open, remove the stale tag, push code, or add a comment. Otherwise, it will be closed in 14 days.'
|
|
exempt-pr-labels: dependencies
|
|
operations-per-run: 1 # for testing
|