This repository has been archived by the owner on Jan 6, 2024. It is now read-only.
forked from k8s-at-home/charts
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (43 loc) · 1.7 KB
/
stale.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
---
name: "Mark or close stale issues and PRs"
on:
workflow_dispatch:
schedule:
# Run the stalebot every day at 8pm UTC
- cron: "00 20 * * *"
jobs:
stale:
runs-on: ubuntu-22.04
steps:
- name: Generate Token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.RESNOSTYLE_APP_ID }}
private_key: ${{ secrets.RESNOSTYLE_APP_PRIVATE_KEY }}
- name: Check for stale issues and PRs
uses: actions/stale@v8
with:
repo-token: ${{ steps.generate-token.outputs.token }}
days-before-issue-stale: 60
days-before-pr-stale: 60
days-before-close: 14
days-before-pr-close: 14
stale-issue-message: >
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in two weeks if no further activity occurs.
Thank you for your contributions.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed in two weeks if no further activity occurs.
Thank you for your contributions.
close-issue-message: >
This issue has been automatically closed due to inactivity.
Please re-open if this still requires investigation.
close-pr-message: >
This pull request has been automatically closed due to inactivity.
Please re-open if these changes are still required.
stale-pr-label: "stale"
stale-issue-label: "stale"
exempt-issue-labels: "keepalive"
exempt-pr-labels: "keepalive"