MobilityData / mobility-feed-api

Apache License 2.0
9 stars 4 forks source link

Use a github variable containing 1password secret references #809

Open jcpitre opened 1 week ago

jcpitre commented 1 week ago

Describe the problem

In https://github.com/MobilityData/gtfs-validator/pull/1921 we introduced a Github variable that contains a list of key value pairs for 1password secret references. The goal was to be able to change (e.g. move vault) the entry referred by the secret reference without having to change the code. We should do the same for mobility-feed-api

Ideally the action used to extract the secrets (extract-1password-secret/action.yml) will be made in a standalone reusable action.