Skip to content

Bump components.yaml on main branch #508

Bump components.yaml on main branch

Bump components.yaml on main branch #508

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.19.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