feat(helm): update chart authentik to 2024.10.1 #938
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@1b8442b12ab5a592a392f4b9e6ca5000f24e7e77 # 6.0.1 | |
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 }} | |
``` |