Skip to content

chore(deps): update allenporter/flux-local action to v4.3.0 #9

chore(deps): update allenporter/flux-local action to v4.3.0

chore(deps): update allenporter/flux-local action to v4.3.0 #9

Workflow file for this run

---
name: "Flux Diff"
on:
pull_request:
branches: ["main"]
jobs:
flux-diff:
name: Flux Diff
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
strategy:
matrix:
resource: ["helmrelease", "kustomization"]
steps:
- name: Setup Flux CLI
uses: fluxcd/flux2/action@main
- name: Diff Resources
uses: allenporter/flux-local/action/diff@d290eeb73abc46bd130aa32f4affd78d40806433 # 4.3.0
id: diff
with:
path: "./kubernetes"
resource: "${{ matrix.resource }}"
skip-crds: "false"
- if: ${{ steps.diff.outputs.diff != '' }}
name: Add comment
uses: mshick/add-pr-comment@7c0890544fb33b0bdd2e59467fbacb62e028a096 # v2.8.1
with:
message-id: "${{ github.event.pull_request.number }}/${{ matrix.path }}/${{ matrix.resource }}"
message-failure: Diff was not successful
message: |
```diff
${{ steps.diff.outputs.diff }}
```