Fix name and indentation of workflow

Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
This commit is contained in:
Michel Hollands 2024-05-08 09:46:42 +01:00
parent 9e4dbcd44a
commit 188cd7e56f

View File

@ -17,7 +17,7 @@ env:
jobs: jobs:
updateVersions: updateVersions:
name: Update the Loki subchart name: Update the subcharts
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
steps: steps:
- name: Checkout - name: Checkout
@ -45,26 +45,26 @@ jobs:
- name: Run Updatecli for Mimir - name: Run Updatecli for Mimir
id: update-mimir-distributed id: update-mimir-distributed
run: | run: |
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/mimir-distributed.yaml updatecli apply --config ${UPDATECLI_CONFIG_DIR}/mimir-distributed.yaml
if ! git diff --exit-code > /dev/null; then if ! git diff --exit-code > /dev/null; then
echo "changed=true" >> "${GITHUB_OUTPUT}" echo "changed=true" >> "${GITHUB_OUTPUT}"
fi fi
- name: Run Updatecli for Tempo - name: Run Updatecli for Tempo
id: update-tempo-distributed id: update-tempo-distributed
run: | run: |
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/tempo-distributed.yaml updatecli apply --config ${UPDATECLI_CONFIG_DIR}/tempo-distributed.yaml
if ! git diff --exit-code > /dev/null; then if ! git diff --exit-code > /dev/null; then
echo "changed=true" >> "${GITHUB_OUTPUT}" echo "changed=true" >> "${GITHUB_OUTPUT}"
fi fi
- name: Run Updatecli for Minio - name: Run Updatecli for Minio
id: update-minio id: update-minio
run: | run: |
updatecli apply --config ${UPDATECLI_CONFIG_DIR}/minio.yaml updatecli apply --config ${UPDATECLI_CONFIG_DIR}/minio.yaml
if ! git diff --exit-code > /dev/null; then if ! git diff --exit-code > /dev/null; then
echo "changed=true" >> "${GITHUB_OUTPUT}" echo "changed=true" >> "${GITHUB_OUTPUT}"
fi fi
- name: Create pull request - name: Create pull request
if: steps.update-loki.outputs.changed == 'true' || steps.update-grafana-alloy.outputs.changed == 'true' || steps.update-mimir-distributed.outputs.changed == 'true' || steps.update-tempo-distributed.outputs.changed == 'true' || steps.update-minio.outputs.changed == 'true' if: steps.update-loki.outputs.changed == 'true' || steps.update-grafana-alloy.outputs.changed == 'true' || steps.update-mimir-distributed.outputs.changed == 'true' || steps.update-tempo-distributed.outputs.changed == 'true' || steps.update-minio.outputs.changed == 'true'