Bump components.yaml on main branch #455
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 | |
if: github.repository_owner == 'tektoncd' # do not run this elsewhere | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
- uses: actions/checkout@v4 | |
- 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@v6 | |
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 |