Skip to content

Update Component Descriptors #452

Update Component Descriptors

Update Component Descriptors #452

Workflow file for this run

name: Update Component Descriptors
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: ocm-updater/go.mod
cache-dependency-path: ocm-updater/go.sum
- name: Check for updates
id: update
run: |
cd ocm-updater
go run . ../components/...
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
author: Gardener on Metal Robot <onmetalbot@users.noreply.github.com>
committer: Gardener on Metal Robot <onmetalbot@users.noreply.github.com>
labels: lifecycle/ocm
delete-branch: true
token: ${{ secrets.GITHUB_TOKEN }}
branch: ocm/update
base: main
commit-message: Update component descriptors
title: Update component descriptors
body: |
Update component descriptors