Mark and close stale issues #200
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: Mark and close stale issues | |
on: | |
#workflow_dispatch | |
schedule: | |
- cron: "0 12 * * SAT" | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
# The message to post on the issue when tagging it. If none provided, will not mark issues stale. | |
stale-issue-message: 'This issue is stale because it has been inactive for two years. Remove Stale label or write a comment, otherwise it will be closed in 30 days.' | |
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue. | |
close-issue-message: 'Issue has been closed automatically after two years of inactivity. Feel free to reopen if the issue is still relevant for current MusE version.' | |
# The number of days old an issue can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically. | |
days-before-stale: 720 # optional, default is 60 | |
# The number of days to wait to close an issue or pull request after it being marked stale. Set to -1 to never close stale issues. | |
days-before-close: 30 # optional, default is 7 | |
# The label to apply when an issue is stale. | |
#stale-issue-label: # optional, default is Stale | |
# The label to apply when an issue is closed. | |
# close-issue-label: 'Closed-inactive' # optional | |
# The labels to apply when an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2") | |
#exempt-issue-labels: # optional, default is | |
# Remove stale labels from issues when they are updated or commented on. | |
#remove-stale-when-updated: # optional, default is true | |
# Run the processor in debug mode without actually performing any operations on live issues. | |
#debug-only: true # optional | |
ascending: true | |
# Skip adding stale message when marking an issue as stale. | |
#skip-stale-issue-message: # optional |