Skip to content

Commit

Permalink
CI mark issues and PRs as stale
Browse files Browse the repository at this point in the history
  • Loading branch information
fgvieira committed Feb 9, 2024
1 parent 42b50a6 commit ca18219
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
@@ -0,0 +1,23 @@
name: Close inactive issues
on:
schedule:
- cron: "00 1 1 * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: 180
days-before-issue-close: 30
stale-issue-label: "stale"
stale-issue-message: "This issue was marked as stale because it has been open for 6 months with no activity."
close-issue-message: "This issue was closed because it has been inactive for 1 month since being marked as stale. Feel free to re-open it if you have any further comments."
days-before-pr-stale: 180
days-before-pr-close: -1
stale-pr-message: "This PR was marked as stale because it has been open for 6 months with no activity."
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ca18219

Please sign in to comment.