Skip to content

Update duplicate_issue.yml #71

Update duplicate_issue.yml

Update duplicate_issue.yml #71

name: Duplicate Issue to Dev Dashboard
on:
push:
branches:
- fix-issue
jobs:
duplicate_issue:
name: duplicate_issue
runs-on: ubuntu-latest
steps:
- name: Prepare Title and Body
id: issue-params
run: |
set -o xtrace
echo "hiiii 0"
cat > issue.md<<- 'EOM'
-${{ github.event.issue.body }}
---
This issue is related to public issue:
* https://github.com/chain4travel/camino-public-issues/issues/${{ github.event.issue.number }}
EOM
echo "hiiii 1"
ISSUE_BODY=$(cat issue.md)
cat > title.md<<- 'EOM'
${{ github.event.issue.title }}
EOM
echo "hiiii 2"
export TITLE=$(cat title.md)
echo "hiiii 3"
export BODY=${ISSUE_BODY//['"']/'\"'}
echo "hiiii 4"
echo "issue_title<<EOM" >> $GITHUB_OUTPUT
echo "$TITLE" >> $GITHUB_OUTPUT
echo "EOM" >> $GITHUB_OUTPUT
echo "hiiii 5"
echo "issue_body<<EOM" >> $GITHUB_OUTPUT
echo "$BODY" >> $GITHUB_OUTPUT
echo "EOM" >> $GITHUB_OUTPUT
echo "hiiii 6"
- name: Create Private Issue
run: |

Check failure on line 47 in .github/workflows/duplicate_issue.yml

View workflow run for this annotation

GitHub Actions / Duplicate Issue to Dev Dashboard

Invalid workflow file

The workflow is not valid. .github/workflows/duplicate_issue.yml (Line: 47, Col: 12): Unexpected symbol: '.'. Located at position 28 within expression: steps.issue-params.outputs..issue_title
echo "${{ steps.issue-params.outputs..issue_title }}"
echo "${{ steps.issue-params.outputs..issue_body }}"