Skip to content

Commit

Permalink
Add workflow to mark issue/pr stale (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro authored Aug 3, 2023
1 parent 83957b8 commit 75e2745
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# https://github.com/actions/stale
name: Close stale PRs & Issues
on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 0 * * *'
permissions:
pull-requests: write
issues: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed in 15 days if no further activity occurs. Thank you
for your contributions.
days-before-pr-stale: 90
days-before-pr-close: 15
exempt-pr-labels: 'security'
only-issue-labels: 'pending-response'
remove-stale-when-updated: true
days-before-issue-stale: 180
days-before-issue-close: 15
stale-issue-message: >
This issue has been automatically marked as stale because it has been open for 30 days
with no response from the author. It will be closed in next 15 days if no further
activity occurs from the issue author.
close-issue-message: >
This issue has been closed because it has not received response from the issue author.

0 comments on commit 75e2745

Please sign in to comment.