maintenance #56
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: "maintenance" | |
on: | |
schedule: | |
# Run every Monday at 00:00 | |
- cron: "0 0 * * 1" | |
jobs: | |
stale: | |
name: "close stale issues and pull requests" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@v9 | |
with: | |
# On the 'debug' mode the action will not perform any operation. | |
# Add the secret ACTIONS_STEP_DEBUG with a value of 'true' in the repository. | |
debug-only: false | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
days-before-stale: 45 | |
days-before-close: 5 | |
stale-issue-label: "stale" | |
stale-pr-label: "stale" | |
exempt-issue-labels: "help wanted,awaiting approval,work in progress" | |
exempt-pr-labels: "help wanted,awaiting approval,work in progress" | |
stale-issue-message: "This issue has been marked as **stale** because it has not registered any activity during the last 45 days. If the **stale** label is not removed or no activity is registered, this will be automatically closed in 5 days." | |
close-issue-message: "This issue has been closed automatically after not registering any activity for 50 consecutive days." | |
stale-pr-message: "This pull request has been marked as **stale** because it has not registered any activity during the last 45 days. If the **stale** label is not removed or no activity is registered, this will be automatically closed in 5 days." | |
close-pr-message: "This pull request has been closed automatically after not registering any activity for 50 consecutive days." |