-
Notifications
You must be signed in to change notification settings - Fork 145
78 lines (51 loc) · 2.65 KB
/
stale.yml
File metadata and controls
78 lines (51 loc) · 2.65 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
name: Close stale issues and PRs
on:
schedule:
# Every day at noon CEST (10:00 UTC in summer, 11:00 UTC in winter)
# Using 10:00 UTC as CEST is UTC+2 (summer time)
- cron: '0 10 * * *'
workflow_dispatch:
permissions: {}
jobs:
stale:
runs-on: ubuntu-latest
permissions:
id-token: write # This is required for getting the required OIDC token from GitHub
steps:
- uses: DataDog/dd-octo-sts-action@96a25462dbcb10ebf0bfd6e2ccc917d2ab235b9a # v1.0.4
id: octo-sts
with:
scope: DataDog/datadog-operator
policy: self.stale.manage-stale
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
with:
repo-token: ${{ steps.octo-sts.outputs.token }}
# Stale configuration
days-before-stale: 15
days-before-close: 30
# Issue configuration
stale-issue-message: |
This issue has been automatically marked as stale because it has not had activity in the past 15 days.
It will be closed in 30 days if no further activity occurs. If this issue is still relevant, adding a comment will keep it open. Also, you can always reopen the issue if you missed the window.
Thank you for your contributions!
close-issue-message: |
This issue was automatically closed because it has been stale for 30 days with no activity.
If this issue is still relevant, please reopen it or create a new issue with updated information.
Thanks!
stale-issue-label: 'stale'
close-issue-label: 'auto-closed'
# Pull request configuration
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had activity in the past 15 days.
It will be closed in 30 days if no further activity occurs. If this pull request is still relevant, adding a comment or pushing new commits will keep it open. Also, you can always reopen the pull request if you missed the window.
Thank you for your contributions!
close-pr-message: |
This pull request was automatically closed because it has been stale for 15 days with no activity.
If this pull request is still relevant, please reopen it or create a new pull request with updated information.
Thanks!
stale-pr-label: 'stale'
close-pr-label: 'auto-closed'
# Exemptions
exempt-issue-labels: 'kind/bug,kind/feature,kind/security,category/bugfix,category/feature,category/security,pending'
exempt-pr-labels: 'do-not-merge/WIP,do-not-merge/hold'