Schedule - Library Chart Update #6106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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 |