Skip to content

Commit

Permalink
fix: Fix slack messaging for E2E tests (#5958)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Apr 2, 2024
1 parent 967cd39 commit 5c9d79d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/actions/e2e/slack/notify/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ runs:
shell: bash
env:
SUITE: ${{ inputs.suite }}
WORKFLOW: ${{ inputs.workflow_trigger }}
run: |
if [[ ${{ inputs.workflow_trigger == 'private_cluster' || inputs.workflow_trigger == 'soak'}} ]]; then
SUITE=${{ inputs.workflow_trigger }}
if [[ "$WORKFLOW" == 'private_cluster' || "$WORKFLOW" == 'soak' ]]; then
SUITE="$WORKFLOW"
fi
if [[ ${{ github.event_name }} == "schedule" && inputs.suite != "soak" ]]; then
if [[ ${{ github.event_name }} == "schedule" && "$WORKFLOW" != "soak" ]]; then
RUN_NAME="$SUITE-periodic"
elif [[ ${{ github.event_name }} == "schedule" ]]; then
RUN_NAME="soak-periodic"
Expand Down

0 comments on commit 5c9d79d

Please sign in to comment.