Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub Packages for our saf-cli binaries (exe and dmg and linux) and perhaps other common locations (brew, npm, etc) #38

Open
aaronlippold opened this issue Jan 15, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request packages Release artifacts

Comments

@aaronlippold
Copy link
Member

See: https://docs.github.com/en/packages

@aaronlippold aaronlippold added enhancement New feature or request packages Release artifacts labels Jan 15, 2022
@aaronlippold aaronlippold changed the title Use GitHub Packages for our saf-cli binaries (exe and dmg and linux) and perhaps other common locations Use GitHub Packages for our saf-cli binaries (exe and dmg and linux) and perhaps other common locations (brew, npm, etc) Jan 21, 2022
@Amndeep7
Copy link
Contributor

Amndeep7 commented Sep 30, 2022

@Rlin232 created a github action for brew, but it doesn't work lol. Fixed some of the issues it had, but currently running into an auth issue. The action we're using to do all the heavy lifting doesn't seem to support cross repository within same org commits without using a PAT. I wanna see if we can swap it out for other actions that might be able to get over the different repository divide. If not, then I'll ask the other admins if they think it would be alright with making a cross-org PAT that would have permissions to write to arbitrary repositories. Well, I think there are actually plenty of those already since any PAT generated has access to all the repos you have visibility into, but we don't (as far as I'm aware) stick them into the secrets section of a github repo.

I'm kinda doubtful that those other actions will be able to do it either, based off of my understanding of the permissions structure, but guess it can't hurt to try.

https://stackoverflow.com/questions/71068476/accessing-another-repository-with-github-cli-in-github-actions

@Amndeep7
Copy link
Contributor

Regarding the PAT thing, might be a good feature request for GitHub to be able to scope PATs not just on generic permissions but also on a per org/repository level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request packages Release artifacts
Projects
None yet
Development

No branches or pull requests

5 participants