This repository contains the documentation for the top level of https://stravaig-projects.github.io/
stravaig-projects / list-github-pullrequests Goto Github PK
View Code? Open in Web Editor NEWA powershell script that lists Pull Requests
A powershell script that lists Pull Requests
This repository contains the documentation for the top level of https://stravaig-projects.github.io/
It appears that if the number of PRs is large, then the information is returned in pages. These pages need to be handled.
From the docs:
Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
<https://api.github.com/resource?page=5>; rel="last"
Rather than pass in an array of Repository URLs, be able to pass in a team name, have the script list all the repositories that the team has access to.
This means the script is always relevant if the team adds or removes a repo.
Show the current review state of a PR.
If you have a lot of Repos to manage, having it display
********************************************************************************
There are no open PR(s) on https://github.com/<org>/<repo>.
For every repository that doesn't currently have open PRs associated with it can be a bit tedious.
Colour code PRs so it becomes easy to see which ones need action.
Yellow: Needs rebased
Red: Reviewed with changes required; Failing status check
Cyan: Needs reviewed
Green: Approved + status checks passing.
See also
Look at using the GraphQL API endpoint to see if it might be a better fit.
Filter the report so that just PRs without any reviews are shown.
This would be useful for a team member wanting to pick up and review a PR without having to trawl through the entire list of repositories the team is responsible for.
The link given is a link to the API pull request, rather that to the Web UI for users.
e.g. an entry might read:
* #58 : Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0
Opened by: dependabot-preview[bot] on Thursday, 7, November 2019 06:24:15
Link: https://api.github.com/repos/<org>/<repo>/pulls/58
When it should really read:
* #58 : Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0
Opened by: dependabot-preview[bot] on Thursday, 7, November 2019 06:24:15
Link: https://github.com/<org>/<repo>/pull/58
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.