Skip to content
Merged
Changes from 1 commit
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
Next Next commit
Remove automatic CHANGELOG update and branch push from CI workflow
  • Loading branch information
sarbagyastha committed Apr 22, 2025
commit db74bf1692e2a0669113fe6254d17c4a677eda08
12 changes: 0 additions & 12 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,3 @@ jobs:
draft: false
prerelease: false
commit: ${{ steps.versioning.outputs.current_commit }}

- name: Update CHANGELOG & update develop branch
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "${{ env.CI_COMMIT_AUTHOR }}"
changelog='${{ steps.changelog.outputs.changelog }}'
escaped_changelog=$(printf '%s\n' "$changelog" | sed 's/\\/&&/g;s/^[[:blank:]]/\\&/;s/$/\\/')
sed -i "2i ${escaped_changelog%?}" CHANGELOG.md
sed -i "2i ## ${{ steps.versioning.outputs.version_tag }} - $(date +'%d-%m-%Y')" CHANGELOG.md
git add -A && git commit -m "chore(docs): update CHANGELOG.MD"
git push origin main
git push --force origin main:develop