Bump components.yaml on main branch #294
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: Bump components.yaml on main branch | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: {} | |
schedule: | |
# Run this every week day at 1AM | |
- cron: '0 1 * * 1-5' | |
jobs: | |
bump-payloads: | |
name: "Bump payloads" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: 1.18.x | |
- uses: actions/checkout@v3 | |
- name: run operator-tool bump | |
run: | | |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} | |
make components/bump | |
- name: create pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: Bump payloads versions | |
committer: Vincent Demeester <vdemeest@redhat.com> | |
author: Vincent Demeester <vdemeest@redhat.com> | |
signoff: true | |
# author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
branch: bot-bump-payload | |
delete-branch: true | |
title: "[bot] bump payload versions" | |
labels: | | |
release-note-none |