Hey everyone :wave: We have <tap-fleetio> and ever...
# singer-taps
j
Hey everyone đź‘‹ We have tap-fleetio and everytime there is update from dependabot (singer_sdk, requests, etc) the pytest suite gives us a 401 response back from our API, but we have this running in a production pipeline with the same API credentials. Does anyone have an inclination what might be going on?
đź‘€ 1
âś… 1
v
I'd dive into the request and be sure it has all the information you expect. Maybe a config value isn't being set the way you think it is?
j
Yeah, the strange thing is this has happened before. What fixed it previously was upgrading the singer_sdk to the latest version
But, we have a dependabot PR that is updating the singer_sdk to the latest version and that’s also causing the same issues. So I feel this is something else
e
Hi @john_mizerany, so you set secrets in your repo and they are normally used in CI, but in dependabot PRs them seem to not be used?
âž• 1
j
Yes, the secrets in the repo are available for any CI or pr process
They are the same credentials we use in other pipelines
e
Gotcha. Dependabot expects its own set of secrets. It's a bit of duplication but I haven't found a way around it yet. In the Settings tab of your repo there's:
j
Oh that’s definitely what is going on
Okay thank you
e
I normally use the CLI to set those:
Copy code
gh secret set --env-file .env --app dependabot
j
That’s why last time when I opened up a separate PR on my own it worked
👍 1