-
Notifications
You must be signed in to change notification settings - Fork 6
32 lines (30 loc) · 952 Bytes
/
maintenance.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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.2.1
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@v7
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