From 750b4af0659bd6e925fcdd34a9c8db72915fe920 Mon Sep 17 00:00:00 2001 From: PavelSinelnik Date: Tue, 17 Dec 2024 21:05:54 +0300 Subject: [PATCH] fix synt. add EOF, condition if --- .github/workflows/update-clients.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-clients.yml b/.github/workflows/update-clients.yml index b2b87a3..f43e799 100644 --- a/.github/workflows/update-clients.yml +++ b/.github/workflows/update-clients.yml @@ -20,12 +20,8 @@ jobs: if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then echo "fmt_title=${{ github.event.inputs.title }}" >> "$GITHUB_OUTPUT" else - echo 'fmt_title<> $GITHUB_OUTPUT - echo "${{ github.event.head_commit.message }}" | head -n 1 >> $GITHUB_OUTPUT - echo 'EOF' >> $GITHUB_OUTPUT - - - + echo ${{ toJSON(github.event) }} + fi update-js-client: needs: title @@ -183,4 +179,4 @@ jobs: # git push --set-upstream origin ${GITHUB_SHA::8} # gh pr create --fill --draft --base develop # env: - # GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }} \ No newline at end of file + # GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}