Skip to content

Schedule - Library Chart Update #5269

Schedule - Library Chart Update

Schedule - Library Chart Update #5269

---
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