Skip to content

Commit

Permalink
not send slack msg
Browse files Browse the repository at this point in the history
  • Loading branch information
mustard-mh committed May 21, 2024
1 parent 7931982 commit 9b7113d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/code-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ jobs:
- name: Get previous job's status
id: lastrun
uses: filiptronicek/get-last-job-status@main
- name: Slack Notification
if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
SLACK_TITLE: "VS Code Browser Build"
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
# - name: Slack Notification
# if: ${{ (success() && steps.lastrun.outputs.status == 'failed') || failure() }}
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
# SLACK_COLOR: ${{ job.status }}
# SLACK_TITLE: "VS Code Browser Build"
# SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
18 changes: 9 additions & 9 deletions .github/workflows/code-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ jobs:
author: Robo Quat <[email protected]>
team-reviewers: |
team-experience
- name: Slack notification (code)
if: ${{ steps.code-update-pr.pull-request-url }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
SLACK_TITLE: "VS Code Browser release `${{ steps.update-output.ouput.codeVersion }}`"
SLACK_MESSAGE: "PR is created ${{ steps.code-update-pr.pull-request-url }}"
SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"
# - name: Slack notification (code)
# if: ${{ steps.code-update-pr.pull-request-url }}
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_WEBHOOK: ${{ secrets.IDE_SLACK_WEBHOOK }}
# SLACK_COLOR: ${{ job.status }}
# SLACK_TITLE: "VS Code Browser release `${{ steps.update-output.ouput.codeVersion }}`"
# SLACK_MESSAGE: "PR is created ${{ steps.code-update-pr.pull-request-url }}"
# SLACK_FOOTER: "<https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|Workflow logs>"

0 comments on commit 9b7113d

Please sign in to comment.