slaclab / pysmurf

Other
2 stars 9 forks source link

Fix automated access to cryo-det #704

Closed agustiner closed 2 years ago

agustiner commented 2 years ago

Problem

The pysmurf repository itself needs access to the private cryo-det repo in order to run tests and generate release images. For some reason the current token broke.

Solution

The simple thing to do is make some access token in cryo-det and then put that in pysmurf's private environment keys. But strangely this isn't possible. Instead Github requires users make "Personal Access Tokens" which are owned by specific users, and Github suggests we make another machine user entirely. I don't want to juggle two Github accounts, so just put it in my account for now.