Skip to content

Commit

Permalink
fixing slack notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuchitra532 committed Feb 27, 2025
1 parent 36403a8 commit 64eb9d9
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/Beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: tf_compare_output_file
path: ${{ github.workspace }}\GM-TF\TF_Output.txt
path: ${{ github.workspace }}\GM-TF\TF_Output.txt

- name: Notify Slack (if runners restarted)
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: gmtestframework-pipeline
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://github.com/black.png?size=48
SLACK_MESSAGE: ${{ github.run_number}} Testframework Build with Runtime version ${{ github.event.inputs.RUNTIME_VERSION }} is ${{ job.status }}
SLACK_TITLE: GM-Tesframework Beta Build
SLACK_USERNAME: ${{ github.actor }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}


12 changes: 12 additions & 0 deletions .github/workflows/Monthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,17 @@ jobs:
with:
name: tf_compare_output_file
path: ${{ github.workspace }}\GM-TF\TF_Output.txt

- name: Notify Slack (if runners restarted)
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: gmtestframework-pipeline
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://github.com/black.png?size=48
SLACK_MESSAGE: ${{ github.run_number}} Testframework Build with Runtime version ${{ github.event.inputs.RUNTIME_VERSION }} is ${{ job.status }}
SLACK_TITLE: GM-Tesframework Monthly Build
SLACK_USERNAME: ${{ github.actor }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}


12 changes: 12 additions & 0 deletions .github/workflows/Red.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,17 @@ jobs:
with:
name: tf_compare_output_file
path: ${{ github.workspace }}\GM-TF\TF_Output.txt

- name: Notify Slack (if runners restarted)
if: always()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: gmtestframework-pipeline
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://github.com/black.png?size=48
SLACK_MESSAGE: ${{ github.run_number}} Testframework Build with Runtime version ${{ github.event.inputs.RUNTIME_VERSION }} is ${{ job.status }}
SLACK_TITLE: GM-Tesframework Red Build
SLACK_USERNAME: ${{ github.actor }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}


0 comments on commit 64eb9d9

Please sign in to comment.