Skip to content

Commit

Permalink
Merge pull request #1065 from twilio/fix-slack-message-issue
Browse files Browse the repository at this point in the history
add slack title to e2e flow
  • Loading branch information
sanjeet-tw authored Nov 14, 2024
2 parents 23a25cc + d1a84e4 commit f9f6f5b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/~reusable_e2e_all_OS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ on:
description: 'A npm-ignore-prefix passed from the caller workflow.'
required: true
type: string
SLACK_TITLE:
description: 'A title passed from the caller workflow, it will be used in slack notification.'
required: false
type: string
default: 'Flex Plugins CLI - E2E'
SLACK_MESSAGE:
description: 'A message passed from the caller workflow, it will be used in slack notification.'
required: false
type: string
default: 'E2E tests'
SEND_NOTIFICATION:
description: 'A flag passed from the caller workflow, it decides whether to send slack notification or not.'
required: true
Expand Down Expand Up @@ -89,6 +99,8 @@ jobs:
PACKAGE_VERSION: latest
FLEX_UI_VERSION: latest
SEND_NOTIFICATION: ${{ inputs.SEND_NOTIFICATION }}
SLACK_TITLE: ${{ inputs.SLACK_TITLE }}
SLACK_MESSAGE: ${{ inputs.SLACK_MESSAGE }}
secrets:
CONSOLE_EMAIL: ${{ secrets.CONSOLE_EMAIL }}
CONSOLE_PASSWORD: ${{ secrets.CONSOLE_PASSWORD }}
Expand Down

0 comments on commit f9f6f5b

Please sign in to comment.