File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 5252 - name : Commit & push (if anything changed)
5353 env :
5454 PAT : ${{ secrets.INTEGRATION_PAT }}
55+ CHANGELOG : ${{ steps.generate-docs.outputs.changelog }}
5556 run : |
5657 if ! (git diff-index --quiet HEAD -- && [ -z "$(git ls-files --others --exclude-standard)" ]); then
5758 git config user.name "messageflow-ci-bot"
@@ -61,10 +62,10 @@ jobs:
6162 COMMIT_MSG="Sync: ${{ github.event.client_payload.source_repo }}@${{ github.event.client_payload.source_sha }}"
6263
6364 # Add changes details if available
64- if [ -n "${{ steps.generate-docs.outputs.changelog }} " ]; then
65+ if [ -n "$CHANGELOG " ]; then
6566 echo "Changelog from variable:"
66- echo ${{ steps.generate-docs.outputs.changelog }}
67- printf "%s\n\n%s\n" "$COMMIT_MSG" "${{ steps.generate-docs.outputs.changelog }} " > /tmp/commit_msg.txt
67+ echo "$CHANGELOG"
68+ printf "%s\n\n%s\n" "$COMMIT_MSG" "$CHANGELOG " > /tmp/commit_msg.txt
6869 else
6970 echo "$COMMIT_MSG" > /tmp/commit_msg.txt
7071 fi
You can’t perform that action at this time.
0 commit comments