Skip to content

Commit

Permalink
Update duplicate_issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t authored Jun 13, 2024
1 parent 4279d72 commit f9fec84
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/duplicate_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ jobs:
steps:
- run: |
BODY_CONT="<br /> This issue is related to public issue https://github.com/chain4travel/camino-public-issues/issues/${{ github.event.issue.number }}"
echo "${{ github.event.issue.body }}" >> issue.md
cat > issue.md<<- EOM
${{ github.event.issue.body }}
EOM
ISSUE_BODY=$(cat issue.md)
ISSUE_TITLE="${{ github.event.issue.title }}"
cat > title.md<<- EOM
${{ github.event.issue.title }}
EOM
ISSUE_TITLE=$(cat title.md)
BODY=${ISSUE_BODY//['"']/'\"'}
TITLE=${ISSUE_TITLE//['"']/'\"'}
gh issue --repo chain4travel/camino-private-issues \
Expand Down

0 comments on commit f9fec84

Please sign in to comment.