From 37b5a92d44f83b566ad81b4b97c21204c5a4936c Mon Sep 17 00:00:00 2001 From: Jacopo Date: Wed, 3 Jul 2024 11:26:11 +0200 Subject: [PATCH] notify --- .github/workflows/ci_integration_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_integration_test.yml b/.github/workflows/ci_integration_test.yml index 9a08cce13..e919b4a4f 100644 --- a/.github/workflows/ci_integration_test.yml +++ b/.github/workflows/ci_integration_test.yml @@ -54,7 +54,7 @@ concurrency: jobs: integration_test: - name: Test ${{(github.event.inputs == null && 'dev') || inputs.environment }} + name: Test ${{(inputs.environment == null && 'dev') || inputs.environment }} runs-on: ubuntu-latest steps: - name: Checkout @@ -149,7 +149,7 @@ jobs: needs: [ integration_test ] runs-on: ubuntu-latest name: Notify - if: ${{ always() && ( inputs == null || inputs.notify == true ) }} + if: ${{ always() && (github.event_name == 'schedule' || inputs.notify == true ) }} steps: - name: Report Status uses: ravsamhq/notify-slack-action@be814b201e233b2dc673608aa46e5447c8ab13f2 # v2