turnstyle icon indicating copy to clipboard operation
turnstyle copied to clipboard

[Feature Request] Support for specifying a branch

Open ltamrazov opened this issue 4 years ago • 1 comments

Hi,

Thank you for this action! I'm wondering if it would be possible to specify the branch where you want to do the workflow check. The use case would be running this on a pull request and ensuring that master branch has finished CI before allowing to merge the PR (as a way of controlling deployments).

I saw the option: same-branch-only which got me thinking there must be a way to specify the branch. Wondering if it can be done here? https://github.com/softprops/turnstyle/blob/2da824432fd1b605d097378101a35779dc3cd35a/src/github.ts#L73

What are your thoughts and would you accept a PR for this?

ltamrazov avatar Nov 20 '20 20:11 ltamrazov