mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
Stale action for prs/issues
This commit is contained in:
parent
65655f84de
commit
8369c43123
31
.github/actions/stale/stale.yml
vendored
Normal file
31
.github/actions/stale/stale.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
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'
|
||||||
Loading…
x
Reference in New Issue
Block a user