generated from onedr0p/cluster-template
-
-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (43 loc) · 1.44 KB
/
schedule-library-chart-update.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: Schedule - Library Chart Update
on: # yamllint disable-line rule:truthy
workflow_dispatch:
schedule:
- cron: "0 */4 * * *"
jobs:
library-chart-update:
name: Library Chart Update
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Generate Token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: "${{ secrets.APP_ID }}"
private_key: "${{ secrets.APP_PRIVATE_KEY }}"
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.6.3
- name: Add library chart
run: helm repo add k8s-at-home-library https://library-charts.k8s-at-home.com
- name: Update helm repositories
run: helm repo update
- name: Update helm dependencies
run: helm dep update
working-directory: charts/kah-common
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
token: "${{ steps.generate-token.outputs.token }}"
branch: github-action/renovate-kah-library-chart
delete-branch: true
title: "chore(github-action): update kah library chart"
signoff: true
commit-message: "chore(github-action): update kah library chart"
body: |
Update the kah library chart
labels: |
renovate/github-action