Skip to content

fix(helm): update chart alloy (1.5.1 → 1.5.2) #663

fix(helm): update chart alloy (1.5.1 → 1.5.2)

fix(helm): update chart alloy (1.5.1 → 1.5.2) #663

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Pull Request
on:
merge_group:
pull_request:
jobs:
prepare:
name: Prepare
runs-on: ubuntu-latest
outputs:
changed-files: ${{ steps.changed-files.outputs.changed_files }}
steps:
- name: Get Changed Files
id: changed-files
uses: bjw-s-labs/action-changed-files@1a5aeab1bfa64d0c4e786f501d5a3f1fad4a24da # v0.4.1
with:
patterns: apps/**/metadata.yaml
changed:
if: ${{ needs.prepare.outputs.changed-files != '[]' }}
needs: ["prepare"]
name: Get Changed Apps
runs-on: ubuntu-latest
outputs:
apps: ${{ steps.apps.outputs.apps }}
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Extract App Values
id: apps
run: |
apps=$(yq eval-all --indent=0 --output-format=json "[.]" ${{ join(fromJSON(needs.prepare.outputs.changed-files), ' ') }})
echo "apps=${apps}" >> $GITHUB_OUTPUT
build:
if: ${{ needs.changed.outputs.apps != '[]' }}
needs: ["changed"]
name: Build ${{ matrix.app.artifactName }}
uses: ./.github/workflows/app-builder.yaml
permissions:
contents: read
packages: read
strategy:
matrix:
app: ${{ fromJSON(needs.changed.outputs.apps) }}
fail-fast: false
max-parallel: 4
with:
chartName: ${{ matrix.app.chartName }}
chartVersion: ${{ matrix.app.chartVersion }}
chartRegistry: ${{ matrix.app.chartRegistry }}
artifactName: ${{ matrix.app.artifactName }}
release: false
status:
if: ${{ !cancelled() }}
needs: ["build"]
name: Build Success
runs-on: ubuntu-latest
steps:
- name: Any jobs failed?
if: ${{ contains(needs.*.result, 'failure') }}
run: exit 1
- name: All jobs passed or skipped?
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: echo "All jobs passed or skipped" && echo "${{ toJSON(needs.*.result) }}"