RSE-Sheffield / fair4rs-lesson-setup

Instructions for setting up a lesson repository for the University of Sheffield FAIR4RS training programme
Creative Commons Attribution 4.0 International
1 stars 0 forks source link

Document the need to setup access token for update-workflows.yaml #26

Open ns-rse opened 1 month ago

ns-rse commented 1 month ago

The update-workflows.yaml needs a personal access token to be generated and added to the repository in order for updates to the up-stream workflows and package cache to run correctly.

The instructions are included when there is no token and are as follows...

⚠️ Missing Token

The SANDPAPER_WORKFLOW secret is missing, invalid, or does not have the right scope (public_repo, workflow) to update the package cache.

If you want to have automated pull request updates to your package cache, you will need to generate a new token. Steps to Generate a New Token

🔑 Click here to generate a new token called Sandpaper Token (slackline/tmp-test) with the public_repo and workflow scopes from your GitHub Account 📋 Copy your new token to your clipboard Go To https://github.com/ns-rse/tmp-test/settings/secrets/actions/new enter SANDPAPER_WORKFLOW for the 'Name' 📥 paste your token for the 'Value'