From f8048bf5559a1a6c57142753ba18e1eeb2999dc4 Mon Sep 17 00:00:00 2001 From: Sayali Mohadikar <76010603+sayaliM0412@users.noreply.github.com> Date: Tue, 28 May 2024 10:10:00 -0500 Subject: [PATCH] Fix/slack notifications (#216) * slack notification changes * slack notification changes * slack notification changes * slack notification changes * slack notification changes --------- Co-authored-by: Sayali M --- .github/workflows/slack-notification.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/slack-notification.yml b/.github/workflows/slack-notification.yml index 7feb2a25..b27fce0e 100644 --- a/.github/workflows/slack-notification.yml +++ b/.github/workflows/slack-notification.yml @@ -12,10 +12,10 @@ jobs: uses: rtCamp/action-slack-notify@v2 env: SLACK_COLOR: ${{ job.status }} - SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} <@U042HRTL4DT>. Triggered by repository: ${{ github.event.client_payload.repository }} and job: ${{ github.job }}" - SLACK_TITLE: "❌ ${{ github.repository }} ❌ Tests failed on branch ${{ github.ref }} for commit ${{ github.sha }} in repository ${{github.repository}}" + SLACK_MESSAGE: "View details on GitHub Actions: ${{ github.event.client_payload.server_url }}/${{ github.event.client_payload.repository }}/actions/runs/${{ github.event.client_payload.run_id }} <@U042HRTL4DT>. Triggered by repository: ${{ github.event.client_payload.repository }} and job: ${{ github.job }}" + SLACK_TITLE: "❌ ${{ github.event.client_payload.repository }} ❌ Tests failed on branch ${{ github.event.client_payload.branch }} for commit ${{ github.event.client_payload.sha }} in repository ${{ github.event.client_payload.repository }}" SLACK_USERNAME: liquibot SLACK_WEBHOOK: ${{ secrets.NIGHTLY_BUILDS_SLACK_WEBHOOK }} SLACK_ICON_EMOJI: ":robot_face:" - SLACK_FOOTER: "${{ github.repository }}" + SLACK_FOOTER: "${{ github.event.client_payload.repository }}" SLACK_LINK_NAMES: true \ No newline at end of file