Jon Sud
Jon Sud

Reputation: 11641

How to hide source code tab from user in github?

I have a repo in GitHub (private), all my source code is there.

I recently hire a QA to test the system and find some bugs. I want from him to open bugs and issues on github so my developer will fix them and update statuses.

The problem is I don't want QA to able to see the source code.

I think to open different repo just for QA to put the bugs there, but now my developer is working on two repo which the same.

Is there a nice solution for this problem? maybe some configuration that allow me to hide the source for the user? or website that show the issue and allow to manage them?

Upvotes: 1

Views: 2174

Answers (1)

Daemon Painter
Daemon Painter

Reputation: 3470

No, there is not a clean solution (as in having a single repo). As stated in GitHub own docs:

GitHub does not provide issues-only access permissions, but you can accomplish this using a second repository which contains only the issues.

However, please read the last paragraph:

For example, if you pushed a commit to the private repository's default branch with a message that read Fixes organization/public-repo#12 , the issue would be closed, but only users with the proper permissions would see the cross-repository reference indicating the commit that closed the issue. Without the permissions, a reference still appears, but the details are omitted.

More on how to link a pull request to an issue and/or automatically closing issues with keywords in commit message.

Upvotes: 2

Related Questions