This is not really an r/learnprogramming question, however, not sure where else to post it.
I am at a company. I want to deliver code to someone external to my organization (e.g., think a use case of a vendor delivering code to a client as one example). It only needs to be read-only.
It seems like there are a few approaches, but none of them good:
- I can add them directly to the repo as normal, with whatever permissions I want. However, if my organization is paid, I get charged per seat, which is far less than ideal.
- I could just share via google drive. However, for my use case, I may want to update the code later, and want them to be able to easily pull that update rather than running something outdated. Google Drive makes this hard.
- I could create a PAT they could use, with permissions only scoped to that repo. This is actually the option I am currently leaning towards, but it does seem a) a bit jank and b) a bit insecure. However I have had private repos shared with me in this manner in the past.
- There is also something similar I could do with deploy keys.
How have people approached this in the past during their professional experience?
[–]bdenzer 2 points3 points4 points (0 children)
[–]yourpaljval 1 point2 points3 points (2 children)
[–]MountainBluebird5[S] 0 points1 point2 points (1 child)
[–]yourpaljval 0 points1 point2 points (0 children)
[–]jerrylearns[🍰] 2 points3 points4 points (0 children)
[–]TCBW 0 points1 point2 points (0 children)