Skip to content

Upgrade to latest versions #5286

Upgrade to latest versions

Upgrade to latest versions #5286

Workflow file for this run

name: Upgrade to latest versions
on:
workflow_dispatch:
schedule:
- cron: '15 */6 * * *'
#push:
# branch: main
env:
golang-version: 1.23.4
jsonnet-version: v0.20.0
jb-version: 3aec759b6a423f5b50751443ccc81e91a0887c02 # Commit from mid February 2022
jobs:
versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@v5
with:
go-version: '${{ env.golang-version }}'
- name: Get jsonnet
run: go install github.com/google/go-jsonnet/cmd/jsonnet@${{ env.jsonnet-version }}
- name: Get jsonnet-bundler
run: go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@${{ env.jb-version }}
- name: Get yq
run: go install github.com/mikefarah/yq/v4@latest
- name: Upgrade
run: |
export GITHUB_TOKEN=${{ secrets.PAT_SECRET }}
touch .version-changelog
make upgrade
- name: Read changes
id: version-changelog
uses: juliangruber/read-file-action@v1
with:
path: ./.version-changelog
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "[bot] Automated version update"
title: "Automated version update"
body: |
This is an automated version update performed from CI on behalf of @paulfantom.
Configuration of the workflow is located in `.github/workflows/versions.yaml`
Changed components:
```
${{ steps.version-changelog.outputs.content }}
```
assignees: paulfantom
labels: enhancement
branch: automated-updates
delete-branch: true
token: ${{ secrets.PAT_SECRET }}