-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat: support packages for a user #168
base: main
Are you sure you want to change the base?
Conversation
Any updates on this? Having this feature would be very helpful. |
Will take a look during the week! First of all, thanks for the PR. This indeed seems very useful functionality! Initial thoughts:
|
ChatGPT says: Certainly! Here's an example curl request using the GitHub API to verify if a repository is owned by a user or an organization:
Replace The Make sure to include this curl request inside of a GitHub action or workflow file to automate the process! |
@vlussenburg Isn't that similar to using Found this other action that does something similar using Python and it works: https://github.com/chipkent/action-cleanup-package |
Good question. Will have to dive in later. Having said that I do like that example |
Hey there, yeah the Looking up the repository with the owner would be a good idea. Would have to look into how the SDK treats the data here Could be a step to avoid hardcoding the names in yaml as well, when we would use the vars. |
I skipped compiling to dist, let me know if I shall change anything.
Needed to update @actions/github to be able to use the endpoints.
fixes #5