Skip to content

Commit

Permalink
Add a stale CI workflow (stellar#1775)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Dec 3, 2024
1 parent c940386 commit 5454d84
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Stale Issues / PRs'

on:
workflow_dispatch:
schedule:
- cron: '0 18 * * *' # approx 9:30am daily

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
debug-only: false
days-before-stale: 30
days-before-close: 30
stale-issue-message: 'This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 30 days unless the stale label is removed, and the assignee is removed or updated.'
stale-pr-message: 'This pull request is stale because it has been open for 30 days with no activity. It will be closed in 30 days unless the stale label is removed.'
stale-issue-label: stale
stale-pr-label: stale
remove-stale-when-updated: true
delete-branch: true
include-only-assigned: true

0 comments on commit 5454d84

Please sign in to comment.