This Action returns the commit difference count between two branches, given their branch names.
Required The name of the first branch. Default master
.
Required The name of the second branch. Default development
.
The number of commits between the base branch and the secondary branch.
- name: Get Commit Difference Count Between Two Branches
id: cdc
uses: jessicalostinspace/[email protected]
with:
base-branch: 'release-v1.2.3'
secondary-branch: 'master'