Skip to content

OPSEXP-2116 review changes #80

OPSEXP-2116 review changes

OPSEXP-2116 review changes #80

Workflow file for this run

---
name: Bump component versions
on:
push:
paths:
- .github/workflows/bumpVersions.yml
- updatecli.d/**
branches:
- OPSEXP-**
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
updatecli:
runs-on: ubuntu-latest
env:
VALUES: ./updatecli.d/supported-matrix.yaml
UPDATECLI_MANIFEST_FILE: ./updatecli.d/uber-manifest.tpl
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Updatecli
uses: updatecli/updatecli-action@v2
with:
version: v0.51.0
- name: Run Updatecli in diff mode
if: github.event_name == 'push'
env:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
UPDATECLI_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
GIT_AUTHOR_EMAIL: ${{ vars.BOT_GITHUB_EMAIL }}
GIT_AUTHOR_USERNAME: ${{ vars.BOT_GITHUB_USERNAME }}
run: |
export GIT_BRANCH="$GITHUB_REF_NAME"
updatecli diff -c "$UPDATECLI_MANIFEST_FILE" -v "$VALUES"