Skip to content

Commit 80aecae

Browse files
chore: add stale-workflow & fix helm (#727)
Signed-off-by: Oliver Bähler <[email protected]>
1 parent 95027ce commit 80aecae

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.github/workflows/stale.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Stale-Bot
2+
permissions: {}
3+
4+
on:
5+
schedule:
6+
- cron: '0 0 * * *' # Run every day at midnight
7+
8+
jobs:
9+
stale:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
actions: write
13+
contents: write # only for delete-branch option
14+
issues: write
15+
pull-requests: write
16+
steps:
17+
- name: Close stale pull requests
18+
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639
19+
with:
20+
stale-issue-message: 'This pull request has been automatically closed because it has been inactive for more than 60 days. Please reopen if you still intend to submit this pull request.'
21+
days-before-stale: 60
22+
days-before-close: 30
23+
days-before-pr-stale: 30
24+
stale-pr-message: 'This pull request has been marked as stale because it has been inactive for more than 30 days. Please update this pull request or it will be automatically closed in 7 days.'
25+
stale-pr-label: stale

charts/capsule-proxy/templates/crd-lifecycle/job.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ metadata:
1111
app.kubernetes.io/component: {{ include "capsule-proxy.crds.component" . | quote }}
1212
{{- include "capsule-proxy.labels" . | nindent 4 }}
1313
spec:
14-
{{- if ge .Values.global.jobs.kubectl.ttlSecondsAfterFinished 0.0 }}
1514
ttlSecondsAfterFinished: {{ .Values.global.jobs.kubectl.ttlSecondsAfterFinished }}
16-
{{- end }}
1715
template:
1816
metadata:
1917
name: "{{ include "capsule-proxy.crds.name" . }}"

0 commit comments

Comments
 (0)