Skip to content

Commit 0520f01

Browse files
committed
fix(workflows/finish-deploy-argocd-app-of-apps): handle failure report properly
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent b2c9cca commit 0520f01

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/finish-deploy-argocd-app-of-apps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ jobs:
159159
owner: ${{ github.repository_owner }}
160160

161161
- id: local-workflow-actions
162+
if: always()
162163
uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@624be17604ee0a7378488191aacb35851e7cf001 # 0.37.1
163164
with:
164165
actions-path: actions
@@ -174,7 +175,7 @@ jobs:
174175
update-log-url: "false"
175176

176177
- uses: ./../self-workflow/actions/deploy/report
177-
if: always()
178+
if: always() && steps.local-workflow-actions.outputs.path
178179
with:
179180
deployment-id: ${{ github.event.client_payload['deployment-id'] }}
180181
repository: ${{ github.event.client_payload['application-repository'] }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/hoverkraft-tech/docker-base-images/super-linter:0.6.0
1+
FROM ghcr.io/hoverkraft-tech/docker-base-images/super-linter:0.4.0
22

33
HEALTHCHECK --interval=5m --timeout=10s --start-period=30s --retries=3 CMD ["/bin/sh","-c","test -d /github/home"]
44
ARG UID=1000

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ lint: ## Execute linting
88

99
lint-fix: ## Execute linting and fix
1010
$(call run_linter, \
11+
-e FIX_YAML_PRETTIER=true \
1112
-e FIX_MARKDOWN=true \
1213
-e FIX_NATURAL_LANGUAGE=true \
1314
-e FIX_SHELL_SHFMT=true \

0 commit comments

Comments
 (0)