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
8 changes: 6 additions & 2 deletions .github/actions/create-release-pr-for-gem/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ inputs:
pre-release:
description: Whether the release is a pre-release
default: false
source-branch:
required: false
description: Branch to scan for commits. Defaults to base-branch if not specified.
default: ""

runs:
using: "composite"
Expand All @@ -27,7 +31,7 @@ runs:
uses: actions/checkout@v4
with:
fetch-depth: 2
ref: ${{ inputs.base-branch }}
ref: ${{ inputs.source-branch || inputs.base-branch }}
token: ${{ env.GITHUB_TOKEN }}
- name: Conventional Changelog Action
id: changelog
Expand All @@ -36,7 +40,7 @@ runs:
preset: conventionalcommits
skip-version-file: true
output-file: false
git-branch: ${{ inputs.base-branch }}
git-branch: ${{ inputs.source-branch || inputs.base-branch }}
git-push: false
skip-commit: true
skip-tag: true
Expand Down
Loading