mirror of
https://github.com/auricom/home-cluster.git
synced 2025-12-26 08:54:49 +01:00
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
---
|
|
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@v3
|
|
- name: Generate Token
|
|
uses: tibdex/github-app-token@v1
|
|
id: generate-token
|
|
with:
|
|
app_id: "${{ secrets.BOT_APP_ID }}"
|
|
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
|
|
- name: Install Helm
|
|
uses: azure/setup-helm@v3
|
|
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@v4
|
|
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
|