From 16080592f479904c24a612d7cce9c4c725619d86 Mon Sep 17 00:00:00 2001 From: medmes Date: Thu, 30 Jan 2025 14:32:02 +0100 Subject: [PATCH] Add fail condition on PR comment --- .github/workflows/check-configs-manifests-changes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-configs-manifests-changes.yaml b/.github/workflows/check-configs-manifests-changes.yaml index c8cf8a7461..786640fba6 100644 --- a/.github/workflows/check-configs-manifests-changes.yaml +++ b/.github/workflows/check-configs-manifests-changes.yaml @@ -86,7 +86,7 @@ jobs: exit 1 - name: Add PR Comment if Manifests Are Outdated - if: env.outdated_manifests == 'true' + if: failure() && env.outdated_manifests == 'true' uses: actions/github-script@v7 with: script: |