The Policy Simulation Library consists of models and modeling tools that share the transparency standards and interoperability criteria set by the PSL-Infrastructure project
Where token is a GitHub authentication token (e.g., your personal token) or a token saved in a repos secrets.
I've tested this locally with my own token and it has helped. But I don't know how to implement this in a way that can pull my (or whoever is running this) personal token for a local run, but then use a GH secretes tokens when running the scripts in a Github Action.
With the list of cataloged and incubating projects, I think we are running up GitHub's API limit of 60 requests per hour for unauthenticated accounts.
This can be avoided by authenticating. E.g. changing the header used for the API request in
utils.py
to:Where
token
is a GitHub authentication token (e.g., your personal token) or a token saved in a repos secrets.I've tested this locally with my own token and it has helped. But I don't know how to implement this in a way that can pull my (or whoever is running this) personal token for a local run, but then use a GH secretes tokens when running the scripts in a Github Action.