Skip to content

Commit

Permalink
Merge commit '8e5c2f0e61600b8f06540d37d8a70051e1b6f777' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasddn committed Jan 19, 2025
2 parents e33fd65 + 8e5c2f0 commit e57b315
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Stale

on:
schedule:
- cron: '23 4 * * *'
workflow_dispatch:

jobs:
stale:
name: Close stale issues & discussions
if: github.repository_owner == 'thomasddn'
runs-on: ubuntu-latest
permissions:
issues: write
discussions: write
steps:
- name: Stale issues
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 7
days-before-close: 2
days-before-pr-stale: -1
days-before-pr-close: -1
stale-issue-label: stale
stale-issue-message: >
This issue has now been marked as stale and will be closed in 2 days
if no further activity occurs.
- name: Stale discussions
uses: steffen-karlsson/stalesweeper@v1.1.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-close: 14
close-unanswered: true
message: This discussion has been closed due to inactivity.

0 comments on commit e57b315

Please sign in to comment.