From beca8b1d63ad0c938b49d696f1ec31e5672d6371 Mon Sep 17 00:00:00 2001 From: Ashish Mishra Date: Tue, 9 Sep 2025 22:52:59 +0530 Subject: [PATCH] adding PR link in the slack message --- .github/workflows/unitTestPipeline.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unitTestPipeline.yaml b/.github/workflows/unitTestPipeline.yaml index 0752f06..452fb5c 100644 --- a/.github/workflows/unitTestPipeline.yaml +++ b/.github/workflows/unitTestPipeline.yaml @@ -1,7 +1,10 @@ name: Unit-Test pipeline and publish results on: - workflow_dispatch: + workflow_dispatch: # manual run + pull_request: # auto run only on PRs into master + branches: + - master jobs: @@ -89,5 +92,6 @@ jobs: *๐ŸŒฟ Branch:* `${{ github.ref_name }}` *๐Ÿงช Test Summary:* `${{ steps.test_summary.outputs.summary }}` *โฑ๏ธ Duration:* `${{ steps.test_summary.outputs.duration }}` + *๐Ÿ”— PR:* `${{ ${{ steps.pr_link.outputs.link }} }}` *๐Ÿ“Š Full Report:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|Open Report in Artifacts> SLACK_COLOR: ${{ steps.slack_color.outputs.color }} \ No newline at end of file