Skip to content

Commit

Permalink
Gha. Getting commit message through the EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelSinelnik committed Dec 17, 2024
1 parent 883076e commit a8665c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then
echo "fmt_title=${{ github.event.inputs.title }}" >> "$GITHUB_OUTPUT"
else
echo "fmt_title=$(${{ github.event.head_commit.message }} | head -n 1)" >> "$GITHUB_OUTPUT"
echo 'fmt_title<<EOF' >> $GITHUB_OUTPUT
${{ github.event.head_commit.message }} | head -n 1 >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
fi
update-js-client:
Expand Down

0 comments on commit a8665c9

Please sign in to comment.