Skip to content

Commit

Permalink
Merge pull request #4 from IMGARENA/test_action_fix
Browse files Browse the repository at this point in the history
chore: modified the test send GitHub action to let users enter the slack channel name
  • Loading branch information
GiridharKarnik authored Nov 10, 2023
2 parents 2264e7e + dcdf94e commit 1c5a6ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/send.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Send a test message

on:
workflow_dispatch:
inputs:
channel:
description: 'Slack channel name'
required: true

jobs:
notify:
Expand All @@ -23,7 +27,7 @@ jobs:
SLACK_ICON_URL: 'https://github.githubassets.com/images/modules/logos_page/Octocat.png'
SLACK_USERNAME: 'GitHub'
SLACK_GITHUB_USER_PAIRS: ${{ secrets.SLACK_USER }}
SLACK_CHANNEL: 'tech_devops_alerts'
SLACK_CHANNEL: ${{ inputs.channel }}
TITLE: ':tada: Congratulations ${{ github.actor }} :tada:'
USE_MARKDOWN: true,
BODY: "Your recent action _*${{ github.workflow }}*_ has been built successfully! \n>This is *markdown* :partyparrot:"
Expand Down

0 comments on commit 1c5a6ba

Please sign in to comment.