fix(helm): update chart coder to 2.17.2 #953
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Flux Diff" | |
on: | |
pull_request: | |
branches: ["main"] | |
paths: ["kubernetes/**.yaml"] | |
jobs: | |
flux-diff: | |
name: Flux Diff | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
strategy: | |
matrix: | |
path: ["kubernetes"] | |
resource: ["helmrelease", "kustomization"] | |
steps: | |
- name: Setup Flux CLI | |
uses: fluxcd/flux2/action@main | |
with: | |
# Flux CLI version e.g. 2.0.0. | |
# Defaults to latest stable release. | |
version: 'latest' | |
# Alternative download location for the Flux CLI binary. | |
# Defaults to path relative to $RUNNER_TOOL_CACHE. | |
bindir: '' | |
- name: Diff Resources | |
uses: allenporter/flux-local/action/diff@bfff4ac1f313c2ef82aed95a8dd5241c0ee0def6 # 6.0.2 | |
id: diff | |
with: | |
sources: home-kubernetes | |
path: "${{ matrix.path }}" | |
resource: "${{ matrix.resource }}" | |
- if: ${{ steps.diff.outputs.diff != '' }} | |
name: Add comment | |
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
message-id: "${{ github.event.pull_request.number }}/${{ matrix.path }}/${{ matrix.resource }}" | |
message-failure: Diff was not successful | |
message: | | |
```diff | |
${{ steps.diff.outputs.diff }} | |
``` |