close
The Wayback Machine - https://web.archive.org/web/20201029020701/https://github.com/jessicalostinspace/commit-difference-action
Skip to content
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Get Commit Difference Count Between Two Branches 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/commit-difference-action@v1.0.0
      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

Sponsor this project

 

Packages

No packages published
You can’t perform that action at this time.