From 96164c6a0b34a0331220a82bb3b6cc60b15d64c8 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 5 Dec 2024 21:04:52 +0100 Subject: [PATCH] Use sticky comments for README Diff After filing https://github.com/LouisBrunner/diff-action/pull/21 this was addressed in https://github.com/LouisBrunner/diff-action/pull/22 and released in https://github.com/LouisBrunner/diff-action/releases/tag/v2.1.0 --- .github/workflows/helm-charts-test.yaml | 4 +++- README.md | 2 +- charts/docker-hub-exporter/README.md.gotmpl | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/helm-charts-test.yaml b/.github/workflows/helm-charts-test.yaml index 9a8d9f6..efe4b07 100644 --- a/.github/workflows/helm-charts-test.yaml +++ b/.github/workflows/helm-charts-test.yaml @@ -54,7 +54,7 @@ jobs: run: | make generate - name: Check that the files are the exact same - uses: LouisBrunner/diff-action@v2.0.0 + uses: LouisBrunner/diff-action@v2.1.0 with: old: charts/${{ matrix.chart }}/README.current.md new: charts/${{ matrix.chart }}/README.md @@ -63,6 +63,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} notify_check: true notify_issue: true + sticky_comment: true + title: ${{ matrix.chart }} validate-values-schema: runs-on: ubuntu-latest name: Validate values schema json diff --git a/README.md b/README.md index 75b0ed9..f5b5262 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,4 @@ Opinionated helm chats for my personal projects, and OSS Projects that either do ## Opinionated decisions shared by all charts * All have pod anti-affinity to be not be on the same node -* All deployments have a pod disruption budget that only allows one unavailble pod when there are more then one replicas +* All deployments have a pod disruption budget that only allows one unavailable pod when there are more then one replicas diff --git a/charts/docker-hub-exporter/README.md.gotmpl b/charts/docker-hub-exporter/README.md.gotmpl index 5f2ddbc..c788ee3 100644 --- a/charts/docker-hub-exporter/README.md.gotmpl +++ b/charts/docker-hub-exporter/README.md.gotmpl @@ -23,7 +23,7 @@ organisations: wyrihaximusnet grafana: prometheus: true ``` - +a ## Opinionated decisions * Port is hardcoded to `9170` for the metrics.