Change time before closing stale issue #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Close stale issues' | |
on: | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
description: 'To run in debug mode' | |
required: false | |
default: "true" | |
# schedule: | |
# - cron: '0 0 * * 0,3' # at midnight UTC every Sunday and Tuesday | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: > | |
This issue has been automatically marked as stale because it has not had | |
recent activity. It will be closed if no further activity occurs. Thank you | |
for your contributions. | |
days-before-issue-stale: 180 | |
days-before-issue-close: 30 | |
stale-issue-label: "stale" | |
exempt-issue-labels: "kind/feature,kind/enhancement" | |
ascending: true # start processing older issues/PRs | |