Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/python_bump_and_update_changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ jobs:
write-mode: overwrite
contents: ${{ inputs.changelog }}

# The 'changelog' input travels through a $GITHUB_OUTPUT heredoc, which strips the trailing
# newline, so the input path above writes the file without one. Normalize here so the committed
# changelog always ends with a newline, whichever path wrote it.
- name: Ensure the changelog ends with a newline
shell: bash
env:
CHANGELOG_PATH: ${{ inputs.changelog_path }}
run: sed -i -e '$a\' "${CHANGELOG_PATH}"

- name: Commit changes
id: commit
uses: apify/actions/signed-commit@v1.0.0
Expand Down
Loading