mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 13:10:11 -03:30
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
name: 'Close stale issues and PRs'
|
|
on:
|
|
schedule:
|
|
- cron: '30 1 * * *'
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
|
|
debug-only: true
|
|
operations-per-run: 30
|
|
|
|
days-before-stale: 30
|
|
days-before-close: 5
|
|
|
|
days-before-issue-stale: 180
|
|
days-before-issue-close: 14
|
|
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
|
|
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
|
|
exempt-issue-labels: 'needs_triage'
|
|
stale-issue-label: 'no_issue_activity'
|
|
|
|
days-before-pr-stale: 90
|
|
days-before-pr-close: 14
|
|
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
|
|
close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.'
|
|
exempt-pr-labels: 'needs_triage'
|
|
stale-pr-label: 'no_pr_activity'
|