Skip to content

Commit

Permalink
Add a stale action. (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
twrecked authored Aug 19, 2024
1 parent 8ba382e commit 0f35b57
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Close inactive issues
on:
workflow_dispatch:
schedule:
- cron: "30 2 * * 0"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 365
days-before-issue-close: 28
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 365 days with no activity. This issue will be automatically closed within 28 days if there is no further activity."
close-issue-message: "This issue was closed because it has been inactive for 28 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0.9.0b16:
Use async interfaces where possible.
Add github stale action.
0.9.0b15:
Fix threading issue with cover and valve.
0.9.0b14:
Expand Down

0 comments on commit 0f35b57

Please sign in to comment.