v1.17.0 #1
Workflow file for this run
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 Versions in Chart.yaml | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
bump-version: | |
name: Bump app version | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
token: ${{ secrets.GH_PACKAGES_READ_TOKEN }} | |
- name: Bump app version | |
run: | | |
pip install pybump==1.12.6 | |
pybump bump --file helm/agent/Chart.yaml --level minor | |
pybump set --file helm/agent/Chart.yaml --app-version --set-version ${{github.event.release.tag_name}} | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GH_PACKAGES_READ_TOKEN }} | |
commit-message: "[CI] Bump Chart and App Version" | |
committer: Superblocks Admin <[email protected]> | |
author: Superblocks Admin <[email protected]> | |
signoff: false | |
branch: bump-app-version-${{github.event.release.tag_name}} | |
delete-branch: true | |
title: '[CI] Bump OPA version in chart to ${{github.event.release.tag_name}}' | |
body: | | |
Autogenerated PR to bump the App Version in the chart to ${{github.event.release.tag_name}}. | |
team-reviewers: | | |
engineering | |
draft: false |