Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.57 KB

README.md

File metadata and controls

39 lines (20 loc) · 1.57 KB

api

create-repo.sh

Create an internal repo in an organization

Documentation

download-file-from-github-packages.sh

This appears to be an undocumented API to download a file from GitHub Packages - use this as a reference to form your own url.

In the UI, you can download a file as well but you'll notice that the download string has an expiring key in the url. This works around that with the -L to follow redirects.

GraphQL also works, but this may be easier.

download-file-from-github-releases.sh

Download a file from a GitHub release - if it's a public repo, you wouldn't have to use a bearer token to authenticate

Documentation

download-file-from-private-repo.sh

Download a file from a non-public repository

Documentation

download-workflow-artifacts.sh

Download a workflow artifact (e.g.: downloading the artifact from the build workflow for the deploy workflow to use)

Documentation

enable-actions-on-repository.sh

Enables actions on a repository - similar to gh cli example, but using curl

Documentation