From 7ef3ca7b86f3436ee97b8232e487f26600e4c617 Mon Sep 17 00:00:00 2001 From: Biraru Date: Tue, 28 May 2024 14:13:50 +0500 Subject: [PATCH] Removed Line Break --- .github/workflows/bug_report.yml | 2 +- .github/workflows/feature_request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bug_report.yml b/.github/workflows/bug_report.yml index cafd63f..b5a0550 100644 --- a/.github/workflows/bug_report.yml +++ b/.github/workflows/bug_report.yml @@ -18,7 +18,7 @@ jobs: env: DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_BUG_REPORT_WEBHOOK }} run: | - MESSAGE_DESCRIPTION="$(echo -e "${GITHUB_EVENT.issue.body}\n[Issue Link](https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }}")" + MESSAGE_DESCRIPTION="${GITHUB_EVENT.issue.body} [Issue Link](https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }})" # Get the requester's name and avatar using GitHub API REQUESTER_NAME=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/users/${{ github.event.issue.user.login }}" | grep -o '"name": *"[^"]*"' | cut -d '"' -f 4) diff --git a/.github/workflows/feature_request.yml b/.github/workflows/feature_request.yml index 3591092..0eee2b8 100644 --- a/.github/workflows/feature_request.yml +++ b/.github/workflows/feature_request.yml @@ -18,7 +18,7 @@ jobs: env: DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_FEATURE_REQUEST_WEBHOOK }} run: | - MESSAGE_DESCRIPTION="$(echo -e "${GITHUB_EVENT.issue.body}\n[Feature Request Link](https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }}")" + MESSAGE_DESCRIPTION="${GITHUB_EVENT.issue.body} [Feature Request Link](https://github.com/${{ github.repository }}/issues/${{ github.event.issue.number }})" # Get the requester's name and avatar using GitHub API REQUESTER_NAME=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/users/${{ github.event.issue.user.login }}" | grep -o '"name": *"[^"]*"' | cut -d '"' -f 4)