Skip to content

Commit

Permalink
Create stale-bot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Sep 14, 2023
1 parent 2762267 commit cb8c61c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Close stale issues and PRs"
on:
workflow_dispatch:
schedule:
- cron: "18 17 * * *"

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
stale-issue-label: "Stale"
stale-issue-message: |
This issue has been automatically marked as stale.
**If this issue is still affecting you, please leave any comment**, for example "bump", and it will be kept open.
close-issue-message: |
This issue has been closed due to inactivity, and will not be monitored.

0 comments on commit cb8c61c

Please sign in to comment.