Difference between revisions of "Zenodo and GitHub"
| (6 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
GitHub account : Have an user account and make sure you are in SCEC organization if the repo | GitHub account : Have an user account and make sure you are in SCEC organization if the repo | ||
| − | + | you are publishing resides in SCECcode space | |
| − | + | click on YourID (upper right) -> Organizations | |
You should see SCECcode as an entry in Organizations section | You should see SCECcode as an entry in Organizations section | ||
| Line 17: | Line 17: | ||
=== Link Zenodo account to GitHub account === | === Link Zenodo account to GitHub account === | ||
| − | + | Logon to your Zenodo account (Zenodo.org) | |
click on YourID (upper right) -> Linked accounts -> click on Connect for GitHub | click on YourID (upper right) -> Linked accounts -> click on Connect for GitHub | ||
| Line 26: | Line 26: | ||
the Admin will receive an email from Zenodo to act on the request | the Admin will receive an email from Zenodo to act on the request | ||
| + | |||
<pre> | <pre> | ||
@meihuisu has requested approval for a third-party application to access "Statewide California Earthquake Center" organization resources via the GitHub API: | @meihuisu has requested approval for a third-party application to access "Statewide California Earthquake Center" organization resources via the GitHub API: | ||
| Line 36: | Line 37: | ||
It will also ask you to 'Authorize zenodo', which is whether you are allowing your GitHub repo to be included or not | It will also ask you to 'Authorize zenodo', which is whether you are allowing your GitHub repo to be included or not | ||
| − | === | + | === Verify the accounts linkup === |
| − | + | Logon to Zenodo, | |
click on UserID -> GitHub | click on UserID -> GitHub | ||
There should be several repo shows up at 'Repositories' table. If not, try to refresh the page by clicking on 'Sync now' button | There should be several repo shows up at 'Repositories' table. If not, try to refresh the page by clicking on 'Sync now' button | ||
| + | |||
| + | === Enable GitHub repo release to be published in Zenodo automatically === | ||
| + | |||
| + | Look through the list of repositories in 'repositories' table. | ||
| + | |||
| + | slide the slider to the right of the repo entry to 'On'. This will move the entry to the 'Enabled Repositories' table. This finalize the linkup of a GitHub repository to Zenodo | ||
| + | |||
| + | Note: If you don't see the repository you want to track in the 'Repositories' table, need to check with the GitHub admin to see whether the permission on that repositories is proper ??? (Phil) | ||
| + | |||
| + | === How to make a GitHub release and publish on Zenodo === | ||
| + | |||
| + | Logon to Zenodo, | ||
| + | |||
| + | click on UserID --> GitHub | ||
| + | |||
| + | Follow the 3 instructions on the top of the page and that will create a GitHub release, publish it to Zenodo and give you a Zenodo badge | ||
Latest revision as of 23:13, 16 October 2025
Contents
To publish a GitHub repo release on Zenodo
Setup accounts
Zenodo account : Have an user account using your official email address
GitHub account : Have an user account and make sure you are in SCEC organization if the repo you are publishing resides in SCECcode space
click on YourID (upper right) -> Organizations
You should see SCECcode as an entry in Organizations section
If you are not, email SCECcode GitHub admin manager and supply your user account id to be included
Link Zenodo account to GitHub account
Logon to your Zenodo account (Zenodo.org)
click on YourID (upper right) -> Linked accounts -> click on Connect for GitHub
It will take you to the 'Authorize Zenodo' page where it shows you have the organization access for SCECcode but you need initiate a request to SCECcode's GitHub admin for allowing Zenodo to access it on your behalf
the Admin will receive an email from Zenodo to act on the request
@meihuisu has requested approval for a third-party application to access "Statewide California Earthquake Center" organization resources via the GitHub API:
"Zenodo" from Zenodo
Until it is approved, this application will have no access to private resources and will have read-only access to public resources belonging to your organization.
It will also ask you to 'Authorize zenodo', which is whether you are allowing your GitHub repo to be included or not
Verify the accounts linkup
Logon to Zenodo,
click on UserID -> GitHub
There should be several repo shows up at 'Repositories' table. If not, try to refresh the page by clicking on 'Sync now' button
Enable GitHub repo release to be published in Zenodo automatically
Look through the list of repositories in 'repositories' table.
slide the slider to the right of the repo entry to 'On'. This will move the entry to the 'Enabled Repositories' table. This finalize the linkup of a GitHub repository to Zenodo
Note: If you don't see the repository you want to track in the 'Repositories' table, need to check with the GitHub admin to see whether the permission on that repositories is proper ??? (Phil)
How to make a GitHub release and publish on Zenodo
Logon to Zenodo,
click on UserID --> GitHub
Follow the 3 instructions on the top of the page and that will create a GitHub release, publish it to Zenodo and give you a Zenodo badge