Skip to content

Upgrade Services Charts #7

Upgrade Services Charts

Upgrade Services Charts #7

name: Upgrade Services Charts
on:
repository_dispatch:
types: [upgrade-services]
workflow_dispatch:
jobs:
upgrade:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: master
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Add helm repos
run: .github/add-repos.sh
- name: Install dependencies
run: pip install -r requirements.txt
- name: Bump chart versions
run: python upgrade.py
- name: Check if changes detected
id: diff
run: echo "changes=$(git diff --exit-code > /dev/null || echo $?)" >> $GITHUB_OUTPUT
- name: Debug
if: ${{ steps.diff.outputs.changes == '1' }}
run: git diff