From 368e5544689e15151873861d9d5f52cccc898419 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Sun, 10 Jan 2021 13:23:15 +0000 Subject: [PATCH] :construction_worker_man: sync DINAR Pushed from https://github.com/itpp-labs/DINAR/.github/workflows/fork2repos.yml --- .github/workflows/DINAR-PORT.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/DINAR-PORT.yml b/.github/workflows/DINAR-PORT.yml index 481442d..386664b 100644 --- a/.github/workflows/DINAR-PORT.yml +++ b/.github/workflows/DINAR-PORT.yml @@ -104,11 +104,9 @@ jobs: sed -r -i "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" $LOG_FILE # escape character # TODO: update KeisukeYamashita/create-comment to support reading comment's body from file - body=$(cat $LOG_FILE) - body="${body//'%'/'%25'}" - body="${body//$'\n'/'%0A'}" - body="${body//$'\r'/'%0D'}" - echo "MIGRATOR_LOGS=$body" >> $GITHUB_ENV + echo 'MIGRATOR_LOGS<> $GITHUB_ENV + cat $LOG_FILE >> $GITHUB_ENV + echo 'EOF' >> $GITHUB_ENV git add -A git commit -m ":arrow_up:${{ env.PORT_TO_BRANCH_TAGS }} OCA/odoo-module-migrator