Skip to content
Merged
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
18 changes: 6 additions & 12 deletions .github/workflows/reusable-manual-release-branch-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,23 +203,17 @@ jobs:
echo "has_changes=true" >> "$GITHUB_OUTPUT"
fi

- name: Commit and push release branch (with file changes)
if: ${{ !inputs.build-and-push-only && steps.changes.outputs.has_changes == 'true' }}
uses: devops-infra/action-commit-push@v1
with:
github_token: ${{ github.token }}
commit_message: "chore(release): prepare ${{ steps.version.outputs.REL_VERSION }}"
target_branch: release/${{ steps.version.outputs.REL_VERSION }}

- name: Commit and push release branch (no file changes)
if: ${{ !inputs.build-and-push-only && steps.changes.outputs.has_changes == 'false' }}
- name: Commit and push release branch
if: ${{ !inputs.build-and-push-only }}
uses: devops-infra/action-commit-push@v1
with:
github_token: ${{ github.token }}
commit_message: "chore(release): prepare ${{ steps.version.outputs.REL_VERSION }}"
no_edit: true
base_branch: ${{ github.event.repository.default_branch }}
reset_target_branch: true
allow_empty_commit: true
force_with_lease: true
target_branch: release/${{ steps.version.outputs.REL_VERSION }}
amend: true

- name: Create release pull request
if: ${{ !inputs.build-and-push-only }}
Expand Down
Loading