From ab140a148fe15e1efbc71fab731b34da53aea5fd Mon Sep 17 00:00:00 2001 From: Mohamed Elmoslemany <117270519+mo-c4t@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:08:56 +0200 Subject: [PATCH] Update duplicate_issue.yml --- .github/workflows/duplicate_issue.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/duplicate_issue.yml b/.github/workflows/duplicate_issue.yml index db50414..6d6aae2 100644 --- a/.github/workflows/duplicate_issue.yml +++ b/.github/workflows/duplicate_issue.yml @@ -15,7 +15,7 @@ jobs: run: | echo "hiiii 0" cat > issue.md<<- 'EOM' - ${{ github.event.issue.body }} + -${{ github.event.issue.body }} --- @@ -33,16 +33,13 @@ jobs: BODY=${ISSUE_BODY//['"']/'\"'} echo "hiiii 4" { - echo 'title<> "$GITHUB_OUTPUT" + echo 'title<> $GITHUB_OUTPUT + echo "$TITLE" >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT echo "hiiii 5" - { - echo 'body<> "$GITHUB_OUTPUT" + echo 'body<> $GITHUB_OUTPUT + echo "$BODY" >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT echo "hiiii 6" - name: Create Private Issue