-
Notifications
You must be signed in to change notification settings - Fork 192
36 lines (34 loc) · 1.11 KB
/
bump-payload-on-main.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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