Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/state.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'Automatically close stale issues'

on:
schedule:
# Runs every day at 8:00 AM CET
- cron: '0 7 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
# See documentation at https://github.com/actions/stale?tab=readme-ov-file#all-options
repo-token: ${{ secrets.GITHUB_TOKEN }}

stale-issue-message: |
This issue has been automatically marked as stale because it has not had recent activity and has the `need-info` label.

It will be closed if no further activity occurs within 3 days.

stale-pr-message: |
This pull request has been automatically marked as stale because it has not had recent activity and has the `need-info` label.

It will be closed if no further activity occurs within 3 days.

stale-issue-label: 'stale'
close-issue-label: 'automatically closed'
only-labels: 'need-info'
days-before-issue-stale: 14
days-before-issue-close: 3