We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3f6267 commit 32b82c7Copy full SHA for 32b82c7
.github/workflows/helm-docs.yaml
@@ -14,10 +14,6 @@ jobs:
14
steps:
15
- name: Checkout repository
16
uses: actions/checkout@v4
17
- with:
18
- repository: ${{ github.repository }}
19
- ref: ${{ github.ref }}
20
- fetch-depth: 0
21
22
- name: Generate Helm Docs
23
id: helm-docs
@@ -31,7 +27,5 @@ jobs:
31
27
fail-on-diff: true
32
28
33
29
- name: Show README diff
34
- if: failure() # Run only if the Helm Docs generation step fails
35
- run: |
36
- echo "README.md changes detected. Showing diff:"
37
- git diff charts/magistrala/README.md || echo "No git diff available."
30
+ if: failure() && steps.helm-docs.outcome == 'failure'
+ run: git diff charts/magistrala/README.md || echo "No git diff available."
0 commit comments