Skip to content

Automatically close stale issues #76

Automatically close stale issues

Automatically close stale issues #76

Workflow file for this run

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@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
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