GitHub: External link to my pull requests - github

I wonder if I can have some external link to share list of all my GitHub pull requests? https://github.com/pulls page is nice but what if I want to show it to someone else? For instance, I want to mention it in my CV?

You can search with author:{name} and share this url. For example, to see all pull requests by GitHub user Amislav: https://github.com/pulls?utf8=%E2%9C%93&q=is%3Apr+author%3Amislav

You can show your pull requests to anyone by adding query parameters to https://github.com/pulls
This help article gives details of the various options you can filter with.
For your use, you would require the author:username parameter. Example
https://github.com/pulls?utf8=%E2%9C%93&q=author%3AAskePit+

Related

Is it possible to filter GitHub pull requests that were authored by members of a specific team

It could be useful for review purposes, for example, if one wants to review pull requests written by someone from her team.
According to GitHub's documentation1, it's possible to filter PRs by the team that was requested for review, but not if a member actually created it.
1 https://help.github.com/en/github/managing-your-work-on-github/filtering-issues-and-pull-requests
Just for completeness (after all this time): this is not possible: the UI does not allow that search. It's also not available as filter in the PR REST API's.
You might be able to do this with the GraphQL API, but I have not tried that.

How to share Github Pages via link-only option?

I am trying to share my Github Pages only via link (if possible, keeping my repo private), just like the link-only share option of Google Drive. Specifically, only those with the URL can access the github.io website that I made, while the repo (the github.com website) is preferably not accessible to anyone. May I ask if it's possible, even via third-party tools?
if you share any link from a private repository, you will get an error 404.
Something you can do to test this behavior... is open a chrome tab in incognito mode and paste your link ... there you will see the error.
If you want to share any link in one of your repositories, it must be Public.
If there is another possibility, please let someone tell us how to do it. regards
In general, I don't know if there's a third-party tool to do the work, but it's easy to make it by hand, provides that you're not creating a lot of such pages.
First, is it possible to make a public GitHub Pages based on private repository?
Yes. Just create a private repository, head to Settings >> Options, find the section called "GitHub Pages" and set the source branch. This process is just the same as creating any GitHub pages.
P.S. you SHOULD see the message
Caution: This repository is private but the published site will be public.
This states exactly what you want.
only those with the URL can access the github.io website
Well, just make the URL difficult to guess.
For example, named the repository as a random string "uk5KKR".
However, this will likely mess up the repositories in your profile, soon after you'll be difficult to find the correct repository that you need now.
Instead, you can named name in this way: "githubpage_uk5KKR".
For other people, it's difficult to find this page when they are not provided the URL. And for you, just search "githubpage" in your profile and this repository should appear.
Here's a few notes:
You should adjust the length of the random string according to how secure you need.
It's also possible to make a quarantine area by the path name in a repository. For example, create paths "n2jnHG" and "4xSN2g" in the same repository of GitHub page, then the contents in these two paths could be shared with different people.
Finally, note that if anyone failed to keep the URL secret, the whole page is not secret anymore. It could even become an entry in Google search result.

How to force GMail show link in list

Several services, for example github, bitbucket and some ticket services able to send email which contain inlist link in GMail. Like that:
Inside they just put link.
How it is possible to do the same programmatically?
I think I found the right answer. The right name of this feature is Go-To Action. It’s possible to add it programmatically using microdata or JSON-LD. More details in documentation

How to filter pull requests on GitHub by commentaries authors?

There are a plenty of Pull Requests on GitHub. Each pull request goes through code review process by one of a few developers. Is there a way to filter out only those pull requests, that has been reviewed by a specific user?
I've tried multiple filters:
build-in GitHub is:open mentions:nattfodd - shows only PRs where there are replies to nattfodd's commentaries, skips PRs with nattfodd's commentaries, but w/o replies to them
simply typed nickname to search field - same behavior
Is it even possible to get what I want?
Github is already providing a very powerfull search API, which includes
Search by a commenter within an issue or pull request.
You can use the filter in the following way: commenter:nattfodd.
For more information please refer the official page here.

How to see a list of a user's github pull request reviews?

I'd like to see a summary of the pull requests where I contributed review comments.
Currently I review the list of all pull requests with a URL such as
https://github.com/user/project/pulls?q=is%3Apr
Because multiple people review, I can't rely on setting myself as the Assignee of the pull request.
Adding my username to the search terms doesn't work.
Try the following URL:
https://github.com/search?q=commenter%3Adefunkt+repo%3Aajaxorg%2Face&type=pr
This will find all pull requests (type=pr) on GitHub from the #ajaxorg/ace repository where user defunkt made a comment.
The GitHub documentation can tell you how to do more if you need it.