Skip to content

jeremiah-snee-openx/commit-difference-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

Branch Comparison Commit Detla Count Action

This Action returns the commit difference count between two branches, given their branch names.

Inputs

base-branch

Required The name of the first branch. Default master.

secondary-branch

Required The name of the second branch. Default development.

Outputs

commit-difference-count

The number of commits between the base branch and the secondary branch.

Example usage

- name: Get Commit Difference Count Between Two Branches
      id: cdc
      uses: jessicalostinspace/[email protected]
      with:
        base-branch: 'release-v1.2.3' 
        secondary-branch: 'master'

About

This GitHub Action compares two branches and gives you the commit count between them

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.5%
  • Shell 21.5%