Skip to content

feat(helm)!: Update app-template ( 1.5.1 → 3.6.0 ) #1075

feat(helm)!: Update app-template ( 1.5.1 → 3.6.0 )

feat(helm)!: Update app-template ( 1.5.1 → 3.6.0 ) #1075

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Flux Diff"
on:
pull_request:
branches:
- main
paths:
- "kubernetes/**/*.yaml"
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
flux-diff:
name: Flux Diff
runs-on: ubuntu-latest
permissions:
pull-requests: write
strategy:
matrix:
resource:
- helmrelease
- kustomization
fail-fast: false
steps:
- name: Setup Flux CLI
uses: fluxcd/flux2/action@5350425cdcd5fa015337e09fa502153c0275bd4b # v2.4.0
- uses: allenporter/flux-local/action/diff@05de0c97eba82d7cdc4faa7279752e17e3c565cf # 7.0.0
id: diff
with:
live-branch: main
path: "kubernetes/clusters/cluster-0"
resource: ${{ matrix.resource }}
sources: "cluster=./kubernetes/"
- name: PR Comments
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
if: ${{ steps.diff.outputs.diff != '' }}
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
message-id: ${{ github.event.pull_request.number }}/${{ matrix.resource }}
message-failure: Diff was not successful
message: |
```diff
${{ steps.diff.outputs.diff }}
```