Maintenance #1090
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: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 3 * * *" | |
jobs: | |
cleanup: | |
name: Cleanup | |
runs-on: ubuntu-latest | |
steps: | |
- name: Delete assets of old releases | |
uses: dev-drprasad/delete-older-releases@v0.3.2 | |
with: | |
keep_latest: 3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
stale: | |
name: Stale | |
runs-on: ubuntu-latest | |
steps: | |
- name: Close stale issues | |
uses: actions/stale@v9 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: "This issue has been marked stale because there was no activity for 21 days. Without further action, it will be closed in 3 days." | |
days-before-stale: 21 | |
days-before-close: 3 | |
exempt-assignees: DerYeger | |
exempt-issue-labels: bug, dependencies, enhancement, renovate | |
exempt-pr-labels: bug, dependencies, enhancement, renovate |