This repository contains Github workflows and templates for the JoVI "Experimental" (Github) Track.
Issue templates in this repository (under .github/ISSUE_TEMPLATE
) are automatically copied to any repository within the journalovi
organization that has the article
topic applied to it.
The copy_templates.yml
workflow in this repository requires commit access to repositories in the journalovi
Github organization. This is enabled by creating an access token with the necessary permissions. The token must be created by someone with the necessary permissions on the journalovi
organization. This token is stored in a secret called JOVI_COMMIT_TOKEN
.
Should this token need to be re-generated, here are the steps to do so:
- A member of the
journalovi
Github organization with commit access to alljournalovi
repos must generate a "Fine-grained Personal Access Token" for thejournalovi
organization:- Click on your profile icon and go to Settings -> Developer Settings -> Personal Access Tokens
- Click on Fine-grained tokens
- Click Generate New Token
- Give it the name
JOVI_COMMIT_TOKEN
and a description like "Commit access token for JOVI repos" - Pick a suitable expiration date (e.g. a year in the future)
- Set Resource Owner to
journalovi
- Set Repository access to
All repositories
- Under Repository Permissions, set the following to Read and Write:
- Actions
- Commit statuses
- Contents
- Pull requests
- Workflows
- Create the token
- Leave this window open (if you close the window without copying the contents of the token, you will have to re-create it)
- On the
journalovi/workflows
repository, go to Settings -> Secrets and variables -> Actions- Under Repository Secrets, click New Repository Secret.
- Name the secret
JOVI_COMMIT_TOKEN
and copy and paste the contents of the Personal Access token you created above into it. - Save the secret