Update Component Descriptors #418
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: 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 <[email protected]> | |
committer: Gardener on Metal Robot <[email protected]> | |
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 |