Skip to content

Commit

Permalink
better conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
lobeto99 committed Nov 26, 2024
1 parent 0189a75 commit d475030
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/template-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
fi
- name: Post failed status
if: ${{ steps.build.outcome == 'failed' && github.actor != 'renovate[bot]'}}
if: ${{ always() && steps.build.outcome == 'failed' && github.actor != 'renovate[bot]'}}
uses: act10ns/[email protected]
with:
status: ${{ steps.build.outcome }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
env=$ENV region=us-east-1 ns=$NS image_tag=$IMAGE_TAG helmfile -f stable/$SERVICE.yaml sync
- name: Post failed status dev
if: ${{ steps.Helm-sync.outcome == 'failed' && github.actor != 'renovate[bot]' && inputs.env == 'dev'}}
if: ${{ always() && steps.Helm-sync.outcome == 'failed' && github.actor != 'renovate[bot]' && inputs.env == 'dev'}}
uses: act10ns/[email protected]
with:
status: ${{ steps.Helm-sync.outcome }}
Expand All @@ -81,7 +81,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

- name: Post failed status prod
if: ${{ steps.Helm-sync.outcome == 'failed' && github.actor != 'renovate[bot]' && inputs.env == 'prod'}}
if: ${{ always() && steps.Helm-sync.outcome == 'failed' && github.actor != 'renovate[bot]' && inputs.env == 'prod'}}
uses: act10ns/[email protected]
with:
status: ${{ steps.Helm-sync.outcome }}
Expand Down

0 comments on commit d475030

Please sign in to comment.