Skip to content

Commit

Permalink
Merge pull request #1317 from elizaOS/realitySpiral/closeStalPRsIssues
Browse files Browse the repository at this point in the history
feat: add auto PR / issue close after being stale for a certain amount of time
  • Loading branch information
shakkernerd authored Dec 24, 2024
2 parents 9aefc8a + 3ad7097 commit 7ddee39
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: '25 18 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity.'
stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity.'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
days-before-stale: 30 # Marks issues and PRs as stale after X days of inactivity
days-before-close: 7 # Closes issues and PRs X days after being marked as stale

0 comments on commit 7ddee39

Please sign in to comment.