cannot navigate to some profiles on github - github

In some available repositories I saw contributed users' profiles which I cannot visit - they are basically unavailable -> it's not even marked as link.
When I click on user profile - I can navigate to it. But when I click on this user another - it does nothing.
Do these users set some block or what?

It is possible those users have made contributions (pushed commits) done with a name+emai which doesn't match any GitHub account.
This is detailed in "Why are my contributions not showing up on my profile?".
In that case, their username would be displayed, but without any link to a GitHub account.
dennisschagt confirms in the comments:
I did some testing some time ago and GitHub uses the user.email field to link commits to users.
If there is no user with that email address, GitHub displays the value of user.name but then the name is not clickable.

Related

How to make a shared Github repo?

I'm making a project that I want to share with 3 other people, only I would be working on it. But I want to share the repo with them so they can host the project individually on Vercel by importing the repo from their Github accounts.
I know they can just fork it, but is it possible to link their "forked" repo to mine so when I make the changes it automatically changes their repo which should also automatically update the deployed project.
You can invite users to become collaborators to your personal repository.
Ask for the username of the person you're inviting as a collaborator.
On GitHub.com, navigate to the main page of the repository.
Under your repository name, click Settings.
In the "Access" section of the sidebar, click Collaborators & teams.
Click Invite a collaborator.
In the search field, start typing the name of person you want to invite, then click a name in the list of matches.
Click Add NAME to REPOSITORY.
The user will receive an email inviting them to the repository. Once they accept your invitation, they will have collaborator access to your repository.
for more detail maybe you can check how to invite collaborators in GitHub Documentation.

Will changing my GitHub username make websites hosted on GitHub Pages inaccessible?

For example, will abc.github.io/verbose/ (abc being my current username) be changed to xyz.github.io/verbose/ when I change my username to xyz? Will it be automated through GitHub actions?
When you attempt to change your username on GitHub, they explicitly mention that no redirects for GitHub Pages will be set up. Therefore, all links pointing to oldname.github.io/verbose/ will no longer work. It is even possible for someone else to register an account (or organisation) using your old username and then host their website there.
Here is a screenshot of the dialog:

Github Scheduled Reminders - Some Slack Mentions Aren't Linked

We have setup scheduled reminders for one of our teams in GH. When the reminders are displayed in Slack, some of the users' accounts are not linked properly. For those users, it just shows their GH username unlinked. Everyone else (probably 80% or better of our users) has a proper # mention instead of their GH username. I've looked at profiles for unlinked users in both systems and cannot determine a clear root cause.
Has anyone else seen this, any possible solutions?
EDIT: The plot thickens. I'm seeing the SAME USER in the SAME REMINDER both be # mentioned correctly/linked and incorrectly/unlinked. There's a pattern for the affected users:
On the line that prints the PR #, Title, and Owner, the affected users' github username appears unlinked.
On the line that prints the days stale/days old/waiting on list, SOME of the affected users' will be correctly # mentioned and some will not.
Maddening.
For the slack users where this doesn't work, have you tried having them unsubscribe from github using a /github unsubscribe followed by a /github subscribe command again to get github to refresh their slack account information?
I am not sure if the application you are using is a separate application or if it is part of the github to slack integration. If it is, it talks about how your accounts are not linked until this step is performed.
I came across this article here: https://github.com/integrations/slack#configuration
Subscribing and Unsubscribing
At this point, your Slack and GitHub user accounts are not linked. To link the two accounts, authenticate to GitHub using a /github slash command, /github signin.
The /github slash command also accepts a subscribe argument that you can use to subscribe to an Organization or Repository's activity /github subscribe <organization>/<repository>.
unfurl_code
If you originally gave the app access to "All repositories" and you've created a new private repository on GitHub after installing the GitHub integration for Slack, the /github subscribe command will work automatically on your new repository. If you installed the app on a subset of repositories, the app will prompt you to install it on the new repository.
The /github slash command also supports unsubscribe. To unsubscribe to notifications from a repository, use /github unsubscribe <organization>/<repository>

Can't add a reviewer for github pull request

I am the owner of public github repository, but can't add anyone to review my pull request.
It only shows "Nothing to show", regardless the nickname I write.
image
You need to give access to your repository by inviting the user to become a collaborator. Open your repository, go to Settings => Manage Access, and click "Invite a collaborator". This information is from Github Support.

How can I give access to a private GitHub repository?

I have a private git repository and I would like to extend its access to a member of my team. Will I be able to do it through the Github website? I have the username of my member.
I have tried to do this by going through the admin page of the repository but there isn't such an option as I am not the owner.
If you are the owner it is simple:
Go to your repo and click the Settings button.
In the left menu click Collaborators
Then Add their name.
Then collaborator should visit this example repo link https://github.com/user/repo/invitations
Source: Github Docs.
It is a simple 3 Step Process :
1) Go to your private repo and click on settings
2) To the left of the screen click on Manage access
3) Then Click on Invite Collaborator
It is a simple 3 Step Process :
Go to your private repo and click on settings
To the left of the screen click on Manage access
Then Click on Invite Collaborator
The invited user needs to be logged in to Github before clicking the invitation link in their email or they'll get a 404 error.
Heres a screenshot of how to do it:
Two steps:
1. Login and click "Invite someone" in the right column under "People". Enter and select persons github id.
2. It will then give you the option to "Invite Username to some teams" at which point you simply check off which teams you want to add them to then click "Send Invitation"
Alternatively:
1. Get the persons github id (not their email)
2. Navigate to the repository you would like to add the user to
3. Click "Settings" in the right column (not the gearbox settings along the top)
4. Click Collaborators long the left column
5. Select the repository name
6. Where it reads "Invite or add users to team" add the persons github id
7. An invitation will then be e-mailed.
Please let me know how this worked for you!
It is a simple 3 Step Process :
Go to your private repo and click on settings
To the left of the screen click on Manage access
Then Click on Invite Collaborator
This, but also - the invited user needs to be logged in to Github before clicking the invitation link in their email or they'll get a 404 error.
It´s possible via Github Organizations. You have to create a new account.
https://github.com/organizations/new
It's working in 2021,
Though the Repo has to be made private first then the click on
settings => Manage access => Invite Collaborator
The user who gets the repo access has to navigate to the repo and can make changes to the main branch.
Your team members must be accessing the repository using SSH & for that they have to have their ssh key mapped with github account. This will work if they map their ssh key with github account and also the repository has public rights, which they want to access.