You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jeff Jennings edited this page Feb 6, 2025
·
2 revisions
To set up secrets in order for the build actions workflow in astropy-tutorials to successfully execute, do the following.
In the astropy GitHub organization, create a fine-grained personal access token with:
a) 'Repository access' to both astropy-tutorials and learn-astropy
b) 'Organization permissions':
Access to organization secrets (read/write)
c) 'Repository permissions' (for both astropy-tutorials and learn-astropy):
Access to metadata (read)
Access to secrets (read/write)
"Contents" repository permissions (write)
"Actions" repository permissions (write)
Create a secret in astropy-tutorials (go to ‘Settings’ at the top of the page, then ‘Secrets and Variables’ in the left panel, then ‘Actions’ --> ‘New repository secret’). Name the secret DISPATCH_GITHUB_TOKEN, and give it the value of the token you created (if the secret already exists, update its value with the new token).