Update HelmRelease: renovate from helm.toolkit.fluxcd.io/v2beta2 to helm.toolkit.fluxcd.io/v2 - autoclosed #914
Workflow file for this run
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: PR Diffs | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [edited] | |
jobs: | |
diffs: | |
name: Compute diffs | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
resource: | |
- helmrelease | |
- kustomization | |
steps: | |
- name: Setup Flux CLI | |
uses: fluxcd/flux2/action@v2.3.0 | |
- uses: allenporter/flux-local/action/diff@5.5.1 | |
id: diff | |
with: | |
live-branch: main | |
path: cluster | |
resource: ${{ matrix.resource }} | |
- name: PR Comments | |
uses: mshick/add-pr-comment@v2 | |
if: ${{ steps.diff.outputs.diff != '' }} | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
message-id: ${{ github.event.pull_request.number }}/${{ matrix.resource }} | |
message-failure: Unable to post kustomization diff | |
message: | | |
`````diff | |
${{ steps.diff.outputs.diff }} | |
````` |