From 1e0705150cd75387086c4c4d41445ee744465b7b Mon Sep 17 00:00:00 2001 From: Ashish Mishra Date: Tue, 9 Sep 2025 23:01:43 +0530 Subject: [PATCH] adding PR link fix --- .github/workflows/unitTestPipeline.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/unitTestPipeline.yaml b/.github/workflows/unitTestPipeline.yaml index 452fb5c..74a77db 100644 --- a/.github/workflows/unitTestPipeline.yaml +++ b/.github/workflows/unitTestPipeline.yaml @@ -79,6 +79,14 @@ jobs: else echo "color=#ff0000" >> $GITHUB_OUTPUT fi + - name: Build PR link + id: pr_link + run: | + if [ "${{ github.event_name }}" = "pull_request" ]; then + echo "link=*🔗 PR:* <${{ github.event.pull_request.html_url }}|#${{ github.event.pull_request.number }} - ${{ github.event.pull_request.title }}>" >> $GITHUB_OUTPUT + else + echo "link=" >> $GITHUB_OUTPUT + fi - name: Publish Test Results on Slack if: always()