promiseofcake / merged-prs Goto Github PK
View Code? Open in Web Editor NEWTool to determine GitHub Pull Requests merged between two given commit hashes, branches, or tags.
Tool to determine GitHub Pull Requests merged between two given commit hashes, branches, or tags.
Users can fall into a use case where without specifying origin/
prepended to refs passed into the program a local diff will be used as opposed to origin fetches. It would be nice if there was a flag passed that could either auto-prepend origin/
or the inverse.
There is a use case where you want to determine merges between local branches, but this program is effectively optimized for communicating external changes to a team it would make more sense to diff off of remote.
One problem is with different remotes, such as origin
and bitbucket
etc. So perhaps it should be a flag that is passed or a config that assumes origin should be prepended.
Repositories which merge directly into Master require the ...
comparison in order to get a ChangeLog, where as repos which have a dev
branch and then cut master
releases require the ..
comparison in order to not catch hotfixes
on Master.
Need to determine the best way to handle this.
If the environment variable GITHUB_TOKEN
is respected, then using this tool in a Github Action becomes trivial because Github Actions Authentication sets this automatically:
GitHub automatically creates a
GITHUB_TOKEN
secret to use in your workflow. You can use theGITHUB_TOKEN
to authenticate in a workflow run.
This saves the step of having to create a temporary .merged-prs
file.
We discovered a few weeks ago that this tool does not work with squashed merges. Is it possible to fix this tool to work with squashed_merges?
The license of the code isn't clear, so there'd be some uncertainty by anyone consuming it. It'd be great to know what your thoughts are with others forking and using this, and a license (e.g. MIT, BSD, etc) would clarify that.
Cheers.
The script went from a procedural PHP application to a first-stab-at-go program. Give it a proper rewrite!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.